Doc #45732 [Ver->Csd]: odbc.defaultlrl = 0 insufficiently documented
Edit report at https://bugs.php.net/bug.php?id=45732&edit=1
ID: 45732
Updated by: phpdocbot@php.net
Reported by: nektarin at me dot com
Summary: odbc.defaultlrl = 0 insufficiently documented
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: ODBC related
Operating System: Windows
PHP Version: 5.2.6
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=df4203dcc5762f0570852ec4e1adc8ed8b0fc252
Log: Fix #45732: odbc.defaultlrl = 0 insufficiently documented
Previous Comments:
------------------------------------------------------------------------
[2020-10-05 20:57:30] cmb@php.net
That is how it is meant to behave. "passthru" means that LONG and
LONGVARBINARY column data are directly printed when retrieved via
odbc_result(), instead of being returned as string.
Apparently, the docs can be improved in this regard.
------------------------------------------------------------------------
[2008-09-10 19:59:09] blabounty at minnetronix dot com
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.
------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=45732&edit=1
Thread (2 messages)