From a9c6e4be1e79988d5b816af352e2efb160a45d92 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 7 Jun 2006 03:33:16 +0000 Subject: [PATCH] Fixed bug #37709 (Possible crash in PDO::errorCode()). --- NEWS | 1 + ext/pdo/pdo_dbh.c | 2 -- 2 files changed, 1 insertion(+), 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); -- 2.50.1