From: Dan Kalowsky Date: Fri, 7 Dec 2001 17:21:49 +0000 (+0000) Subject: Fix for bug #13628. X-Git-Tag: ChangeLog~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89aa330637572e3dc5bcea9e190eb2b8248c5625;p=php Fix for bug #13628. # basically handles a SQL_ERROR case for all odbc_execute()'s --- diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index a07b036dbf..daf5c50296 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -1007,6 +1007,7 @@ PHP_FUNCTION(odbc_execute) odbc_sql_error(result->conn_ptr, result->stmt, "SQLExecute"); break; default: + odbc_sql_error(result->conn_ptr, result->stmt, "SQLExecute"); RETVAL_FALSE; } }