PHP 4.0 Bug #5456: ifx_fetch_row() error!

From: Date: Sat, 08 Jul 2000 22:23:47 +0000
Subject: PHP 4.0 Bug #5456: ifx_fetch_row() error!
Groups: php.dev 
Request: Send a blank email to php-dev+get-23886@lists.php.net to get a copy of this message
This is most probably an error in the Informix ESQL/C libraries. It looks like the "indicator" variable is not being set correctly to -1 to indicate a "NULL" variable, so the Informix driver tries to read the BLOB (which has zero length) and gets an error when allocating 0 bytes of memory. I could perhaps add a check for zero length BLOBS and treat them as NULL variables ? Danny --

« previous php.dev (#23886) next »