From: Ilia Alshanetsky Date: Wed, 7 Jun 2006 03:33:16 +0000 (+0000) Subject: Fixed bug #37709 (Possible crash in PDO::errorCode()). X-Git-Tag: php-5.2.0RC1~354 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9c6e4be1e79988d5b816af352e2efb160a45d92;p=php Fixed bug #37709 (Possible crash in PDO::errorCode()). --- 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);