#19349 [Fbk->Opn]: odbc_longreadlen() does not work

From: Date: Wed, 15 Jan 2003 18:07:50 +0000
Subject: #19349 [Fbk->Opn]: odbc_longreadlen() does not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30144@lists.php.net to get a copy of this message
 ID:               19349
 Updated by:       kalowsky@php.net
 Reported By:      truth@ichaos.com
-Status:           Feedback
+Status:           Open
 Bug Type:         ODBC related
 Operating System: SuSE 8.0
 PHP Version:      4.2.1
 New Comment:

patch reverted... bug still alive.


Previous Comments:
------------------------------------------------------------------------

[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@ichaos.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@ichaos.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.

------------------------------------------------------------------------

[2002-11-16 01:13:36] sniper@php.net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

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



Thread (15 messages)

« previous php.bugs (#30144) next »