#22854 [NEW]: ibase_query complains that number of read/write doesn't equal count values
| From: | al2925 at mail dot ru | Date: | Mon, 24 Mar 2003 17:16:16 +0000 |
| Subject: | #22854 [NEW]: ibase_query complains that number of read/write doesn't equal count values | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-36303@lists.php.net to get a copy of this message | ||
From: al2925 at mail dot ru
Operating system: Windows 2000 Server SP3
PHP version: 4.3.0
PHP Bug Type: InterBase related
Bug description: ibase_query complains that number of read/write doesn't equal count values
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 bug report at http://bugs.php.net/?id=22854&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22854&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22854&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22854&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22854&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22854&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22854&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22854&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22854&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22854&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22854&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22854&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22854&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22854&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22854&r=gnused