|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-01 06:27 UTC] lester at lsces dot co dot uk
[2008-07-01 09:24 UTC] max_wer at ukr dot net
[2008-10-04 22:54 UTC] felipe@php.net
[2008-10-06 08:35 UTC] max_wer at ukr dot net
[2008-10-06 15:09 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 02:00:01 2025 UTC |
Description: ------------ php crash where count(params in ibase_execute()) > count(params in SQL-string) and query-type is not SELECT Reproduce code: --------------- $db = ibase_connect('127.0.0.1:employee','sysdba','masterkey'); $sql = "update country set currency = ? where country = ? returning country, currency";/**/ /*"select * from country where country = ? and currency = ?"; /**/ $t = ibase_trans(IBASE_WRITE); $q = ibase_prepare($db,$t,$sql); $r = ibase_execute($q,'USA','Dollar'/*!!!With three param SELECT-OK UPDATE-CRASH*/ ,0/**/); ibase_rollback($t); ibase_close($db); Expected result: ---------------- must be error message