#19349 [Opn->Fbk]: odbc_longreadlen() does not work
| From: | iliaa@php.net | Date: | Mon, 30 Jun 2003 02:38:30 +0000 |
| Subject: | #19349 [Opn->Fbk]: odbc_longreadlen() does not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42795@lists.php.net to get a copy of this message | ||
ID: 19349
Updated by: iliaa@php.net
Reported By: truth at ichaos dot com
-Status: Open
+Status: Feedback
Bug Type: ODBC related
Operating System: SuSE 8.0
PHP Version: 4.2.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-01-15 12:07:49] kalowsky@php.net
patch reverted... bug still alive.
------------------------------------------------------------------------
[2003-01-06 12:42:16] nicos@php.net
The bug has been fixed in CVS. Please try it when you will be able to
compile PHP. Do not change the status of this bug just because an
another one is not (yet) fixed already. (Even if it looks it is
now).
Thank you for your report.
------------------------------------------------------------------------
[2003-01-06 12:35:48] truth at ichaos dot com
Don't put this in a different state yet as I can't get the snapshot to
compile until bug #20928 is fixed.
------------------------------------------------------------------------
[2003-01-06 12:24:10] kalowsky@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
As soon as the CVS commit happens I think I fixed this. Give it a try
and let me know.
------------------------------------------------------------------------
[2002-11-16 12:06:34] truth at ichaos dot com
Script is pretty simple. It's hard to just cut and paste because I have
everything spread out in a bunch of classes.
$linkid = odbc_pconnect("database", "username", "password");
$result = odbc_exec($linkid, "SELECT SUBSTR(document, 1, 2000000) FROM
documents WHERE doc_id = 1);
odbc_longreadlen($result, 2000000);
odbc_binmode($result, ODBC_BINMODE_PASSTHRU);
$column = odbc_result($result, 1);
// A short example of what I'm trying to do.
// $column should be filled with up to 2000000 bytes of data.
// By default, it's up to 4096 bytes of data, or whatever is
// set in the php.ini file.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/19349
--
Edit this bug report at http://bugs.php.net/?id=19349&edit=1