#22854 [NoF->Bgs]: ibase_query complains that number of read/write doesn't equal count values
| From: | abies@php.net | Date: | Wed, 20 Aug 2003 23:25:00 +0000 |
| Subject: | #22854 [NoF->Bgs]: 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-46356@lists.php.net to get a copy of this message | ||
ID: 22854
Updated by: abies@php.net
Reported By: al2925 at mail dot ru
-Status: No Feedback
+Status: Bogus
Bug Type: InterBase related
Operating System: Windows 2000 Server SP3
PHP Version: 4.3.0
New Comment:
As the query string is passed untouched to the Interbase client
library, the error is either in the string (which I suspect is the
case) or in Interbase itself.
My guess is that simply the (number of fields) != (number of values +
placeholders)
Previous Comments:
------------------------------------------------------------------------
[2003-03-31 01:59:45] 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.
------------------------------------------------------------------------
[2003-03-24 18:11:29] sniper@php.net
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
------------------------------------------------------------------------
[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