cvs: php4 /ext/odbc php_odbc.c
| From: | Dan Kalowsky | Date: | Fri, 07 Dec 2001 17:21:49 +0000 |
| Subject: | cvs: php4 /ext/odbc php_odbc.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8513@lists.php.net to get a copy of this message | ||
kalowsky Fri Dec 7 12:21:49 2001 EDT
Modified files:
/php4/ext/odbc php_odbc.c
Log:
Fix for bug #13628.
# basically handles a SQL_ERROR case for all odbc_execute()'s
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.111 php4/ext/odbc/php_odbc.c:1.112
--- php4/ext/odbc/php_odbc.c:1.111 Thu Oct 11 19:33:24 2001
+++ php4/ext/odbc/php_odbc.c Fri Dec 7 12:21:49 2001
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_odbc.c,v 1.111 2001/10/11 23:33:24 ssb Exp $ */
+/* $Id: php_odbc.c,v 1.112 2001/12/07 17:21:49 kalowsky Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1007,6 +1007,7 @@
odbc_sql_error(result->conn_ptr, result->stmt, "SQLExecute");
break;
default:
+ odbc_sql_error(result->conn_ptr, result->stmt, "SQLExecute");
RETVAL_FALSE;
}
}