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

index 1019b4ce60431d7214a897bc0b3eed9002bdf783..bb5a65353f9634db44e9c2641ccbdc2584c34ef0 100755 (executable)
@@ -1040,8 +1040,6 @@ static PHP_METHOD(PDO, query)
                /* something broke */
        }
 
-       PDO_HANDLE_STMT_ERR();
-               
        /* kill the object handle for the stmt here */
        zval_dtor(return_value);