summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-06-07 03:33:16 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-06-07 03:33:16 +0000
commita9c6e4be1e79988d5b816af352e2efb160a45d92 (patch)
tree6787e87b851d1589ba9cd64c5bd564bb449f29be
parente5c8f8c59b3dc3ec960167aa7ca77ef74e5462d9 (diff)
downloadphp-git-a9c6e4be1e79988d5b816af352e2efb160a45d92.tar.gz
Fixed bug #37709 (Possible crash in PDO::errorCode()).
-rw-r--r--NEWS1
-rwxr-xr-xext/pdo/pdo_dbh.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index cc94298ffd..27de5a0d49 100644
--- a/NEWS
+++ b/NEWS
@@ -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);