#45732 [Com]: odbc.defaultlrl = 0 != Passthru
ID: 45732
Comment by: blabounty at minnetronix dot com
Reported By: nektarin at me dot com
Status: Open
Bug Type: ODBC related
Operating System: Windows
PHP Version: 5.2.6
New Comment:
Testing this using an ODBC connection to MS SQL SERVER 2005, commenting
out the line causes text fields, when queried through an ODBC
connection, to cut off at 4096 characters.
They do indeed cut off at 0 when the setting is set to 0, however.
I'm using a Windows XP 32-bit Zend Core platform, but I've also tested
this on a non-Zend Apache server and the result is the same.
Previous Comments:
------------------------------------------------------------------------
[2008-08-06 12:12:50] nektarin at me dot com
Description:
------------
The information given in php.ini is wrong.
Setting "odbc.defaultlrl = 0" is not the same as Passthru (as described
in php.ini).
To use passthru you have to comment the line containing
odbc.defaultlrl.
Reproduce code:
---------------
odbc.defaultlrl = 0
Expected result:
----------------
odbc.defaultlrl = PASSTHRU
Actual result:
--------------
odbc.defaultlrl = 0 (0 bytes is received for every SQL query)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45732&edit=1
Thread (2 messages)