]> granicus.if.org Git - php/commitdiff
Fix for bug #13628.
authorDan Kalowsky <kalowsky@php.net>
Fri, 7 Dec 2001 17:21:49 +0000 (17:21 +0000)
committerDan Kalowsky <kalowsky@php.net>
Fri, 7 Dec 2001 17:21:49 +0000 (17:21 +0000)
# basically handles a SQL_ERROR case for all odbc_execute()'s

ext/odbc/php_odbc.c

index a07b036dbf590f706b1a3de034a5a36a4cf7f38f..daf5c5029623f0ba87b99c018ac68895a1310619 100644 (file)
@@ -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;
         }
        }