From: Ilia Alshanetsky Date: Wed, 7 Jun 2006 03:33:39 +0000 (+0000) Subject: MFB: Fixed bug #37709 (Possible crash in PDO::errorCode()). X-Git-Tag: RELEASE_1_0_0RC1~2768 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b40f43faa0bd116459b2b02e7dd965d22d5a00f;p=php MFB: Fixed bug #37709 (Possible crash in PDO::errorCode()). --- diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index 1019b4ce60..bb5a65353f 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -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);