Re: [PDO] Re: PDO Truncates Text from SQL Server Text Data Type Field
[email protected] (Christopher Jones) Mon, 15 Feb 2010 13:04:21 -0800
| Newsgroups | php.pdo |
|---|---|
| Message-ID | <[email protected]> |
Stanley Sufficool wrote: > I didn't have a problem with text truncation. > > The problem I encountered is an issue/bug in PDO::DBLIB at the PDO > driver level that reads all results into memory before returning it to > the client. This behavior is unique to mssql_* and PDO::DBLIB, other > drivers return the data as it is requested by the client. You can test > it by attempting to read more than 128MB of tabular data from the > server. If it exceeds the max_mem_per_session PHP.INI setting, the > script will puke. > > To my knowledge, this is not yet fixed as I have not seen a patch get > committed through this list yet. > > Unfortunately, it seems the whole PDO extension is on hold while they > work out the next revision of PDO. I feel that PDO should clear the > bug list before it takes on another version. There is not really a "they". > > I would be more than happy to help, but I have yet to gain any patch > karma yet in order to get CVS access. I have a patch waiting for > approval. This is a chicken and egg situation, since almost no one is working on PDO, then it will be hard to get the patch reviewed and get karma to commmit it. If your patch is MS specific, maybe Pierre can help get it reviewed. Join the IRC channel #php-dev-win on Freenode.net and ask about it. In the long term, keep pestering folk about the patch and also contribute more patches and suggestions/tests/doc etc. This will let people know how serious you are and how reliable your code is. Chris > > Just my 2 cents. > > On Fri, Feb 12, 2010 at 1:09 AM, Philipp Hellmich > <[email protected]> wrote: >> Hi, >> >> I manged to get pdo_dblib working with file from cvs... >> >> You might want to check this: >> http://bugs.php.net/bug.php?id=38805 >> >> Best regards, Philipp >> > -- Email: [email protected] Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/ Free PHP Book: http://tinyurl.com/UGPOM