CVS update: php31/ext/odbc
| From: | kara | Date: | Sun, 06 Sep 1998 13:19:27 +0000 |
| Subject: | CVS update: php31/ext/odbc | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-832@lists.php.net to get a copy of this message | ||
Date: Sunday September 6, 1998 @ 9:19
Author: kara
Update of /repository/php31/ext/odbc
In directory asf:/u2/tmp/cvs-serv12869
Modified Files:
unified_odbc.c
Log Message:
Fix for Solid autocommit behaviour
Index: php31/ext/odbc/unified_odbc.c
diff -c php31/ext/odbc/unified_odbc.c:2.8 php31/ext/odbc/unified_odbc.c:2.9
*** php31/ext/odbc/unified_odbc.c:2.8 Sun Aug 30 15:27:41 1998
--- php31/ext/odbc/unified_odbc.c Sun Sep 6 09:19:27 1998
***************
*** 141,146 ****
--- 141,150 ----
res->values = NULL;
}
if (res->stmt){
+ #if HAVE_SOLID
+ SQLTransact(UODBC_GLOBAL(PHP3_UODBC_MODULE).henv, res->conn_ptr->hdbc,
+ (UWORD)SQL_COMMIT);
+ #endif
SQLFreeStmt(res->stmt,SQL_DROP);
res->stmt = NULL;
}
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net