#22854 [Opn->Fbk]: ibase_query complains that number of read/write doesn't equal count values
| From: | sniper@php.net | Date: | Tue, 25 Mar 2003 00:11:30 +0000 |
| Subject: | #22854 [Opn->Fbk]: ibase_query complains that number of read/write doesn't equal count values | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36346@lists.php.net to get a copy of this message | ||
ID: 22854
Updated by: sniper@php.net
Reported By: al2925 at mail dot ru
-Status: Open
+Status: Feedback
Bug Type: InterBase related
Operating System: Windows 2000 Server SP3
PHP Version: 4.3.0
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-03-24 11:16:16] al2925 at mail dot ru
I get such warning:
PHP Warning: ibase_query(): Dynamic SQL Error SQL error code = -804
Count of read-write columns does not equal count of values in
c:\gentle\php_includes\IbaseConnection.php(86) : runtime-created
function on line 1
The query looks like
ibase_query($link, 'INSERT INTO tableName (cols, ..) VALUES (cols, ?,
?, ?)', $blob0, $blob1, $blob2);
All parameters are BLOBs. This happens only if the count of parameters
is more than one. I'm running Firebird Superserver for Windows version
1.0.2.908 The error began to occur after I upgraded from PHP 4.3.2
Please, feel free to contact me via e-mail.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22854&edit=1