Bug->Doc #45732 [Opn->Ver]: odbc.defaultlrl = 0 insufficiently documented
| From: | cmb@php.net | Date: | Mon, 05 Oct 2020 20:57:30 +0000 |
| Subject: | Bug->Doc #45732 [Opn->Ver]: odbc.defaultlrl = 0 insufficiently documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17959@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=45732&edit=1
ID: 45732
Updated by: cmb@php.net
Reported by: nektarin at me dot com
-Summary: odbc.defaultlrl = 0 != Passthru
+Summary: odbc.defaultlrl = 0 insufficiently documented
-Status: Open
+Status: Verified
-Type: Bug
+Type: Documentation Problem
Package: ODBC related
Operating System: Windows
PHP Version: 5.2.6
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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