1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement).

This commit is contained in:
Pierrick Charron
2009-12-03 15:24:43 +00:00
parent 7914d298b4
commit e2efe4bc7b
3 changed files with 3 additions and 2 deletions
+2
View File
@@ -97,6 +97,8 @@ PHP NEWS
- Fixed bug #49244 (Floating point NaN cause garbage characters). (Sjoerd)
- Fixed bug #49224 (Compile error due to old DNS functions on AIX systems).
(Scott)
- Fixed bug #45120 (PDOStatement->execute() returns true then false for same
statement). (Pierrick)
19 Nov 2009, PHP 5.3.1
+1
View File
@@ -497,6 +497,7 @@ static PHP_METHOD(PDOStatement, execute)
/* no changes were made */
stmt->active_query_string = stmt->query_string;
stmt->active_query_stringlen = stmt->query_stringlen;
ret = 1;
} else if (ret == -1) {
/* something broke */
PDO_HANDLE_STMT_ERR();
-2
View File
@@ -42,8 +42,6 @@ bug_45120($db);
print "done!";
?>
--XFAIL--
This is an open PDO bug. It is not a PDO_MYSQL bug
--EXPECT--
Emulated Prepared Statements
Native Prepared Statements