]> granicus.if.org Git - php/commitdiff
Fixed bug #37709 (Possible crash in PDO::errorCode()).
authorIlia Alshanetsky <iliaa@php.net>
Wed, 7 Jun 2006 03:33:16 +0000 (03:33 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 7 Jun 2006 03:33:16 +0000 (03:33 +0000)
NEWS
ext/pdo/pdo_dbh.c

diff --git a/NEWS b/NEWS
index cc94298ffd68949e1977b26fcbadaa7c4e6ae57a..27de5a0d49553488b54d3975868d9a2b98932794 100644 (file)
--- 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)
index 5a8996f866be9aee4605e19168566763a945c062..fa71a69ea7adf43b59a8c1d399c27f982aafbe25 100755 (executable)
@@ -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);