From: Ard Biesheuvel Date: Sun, 13 Jun 2004 22:09:54 +0000 (+0000) Subject: Report param binding error X-Git-Tag: php-5.0.0~202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d7a4ed49291944270e9f95d21dac1d2fddc32ba;p=php Report param binding error --- diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index e34ffe0a3a..38b0063d8f 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -324,6 +324,7 @@ static PHP_METHOD(PDOStatement, execute) RETURN_FALSE; } } else if (!dispatch_param_event(stmt, PDO_PARAM_EVT_EXEC_PRE TSRMLS_CC)) { + PDO_HANDLE_STMT_ERR(); RETURN_FALSE; } if (stmt->methods->executer(stmt TSRMLS_CC)) {