diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-06-07 03:33:16 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-06-07 03:33:16 +0000 |
commit | a9c6e4be1e79988d5b816af352e2efb160a45d92 (patch) | |
tree | 6787e87b851d1589ba9cd64c5bd564bb449f29be | |
parent | e5c8f8c59b3dc3ec960167aa7ca77ef74e5462d9 (diff) | |
download | php-git-a9c6e4be1e79988d5b816af352e2efb160a45d92.tar.gz |
Fixed bug #37709 (Possible crash in PDO::errorCode()).
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | ext/pdo/pdo_dbh.c | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -49,6 +49,7 @@ PHP NEWS - Added RFC2397 (data: stream) support. (Marcus) - Fixed memory leaks in openssl streams context options (Pierre) - Fixed handling of extremely long paths inside tempnam() function. (Ilia) +- Fixed bug #37709 (Possible crash in PDO::errorCode()). (Ilia) - Fixed bug #37705 (Semaphore constants not available). (Ilia) - Fixed bug #37671 (MySQLi extension fails to recognize BIT column). (Ilia) - Fixed bug #37635 (parameter of pcntl signal handler is trashed). (Mike) diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index 5a8996f866..fa71a69ea7 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -1049,8 +1049,6 @@ static PHP_METHOD(PDO, query) zval_dtor(return_value); } - PDO_HANDLE_STMT_ERR(); - /* kill the object handle for the stmt here */ zval_dtor(return_value); |