From 5b40f43faa0bd116459b2b02e7dd965d22d5a00f Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 7 Jun 2006 03:33:39 +0000 Subject: [PATCH] MFB: Fixed bug #37709 (Possible crash in PDO::errorCode()). --- ext/pdo/pdo_dbh.c | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.40.0