diff options
author | Dan Kalowsky <kalowsky@php.net> | 2001-12-07 17:21:49 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2001-12-07 17:21:49 +0000 |
commit | 89aa330637572e3dc5bcea9e190eb2b8248c5625 (patch) | |
tree | a2bd090f420c5a24a9ee05562df81092e8a85512 /ext/odbc | |
parent | 9fff2f7bbecf71167492107f90e05181f17ea742 (diff) | |
download | php-git-89aa330637572e3dc5bcea9e190eb2b8248c5625.tar.gz |
Fix for bug #13628.
# basically handles a SQL_ERROR case for all odbc_execute()'s
Diffstat (limited to 'ext/odbc')
-rw-r--r-- | ext/odbc/php_odbc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |