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:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user