diff options
author | Dan Kalowsky <kalowsky@php.net> | 2001-04-17 02:02:36 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2001-04-17 02:02:36 +0000 |
commit | 685186f9fde754e7f2bb4906ed22c1249b36e475 (patch) | |
tree | 9539afa8350bae8fc39b3e9deb7d98847dd6c6e0 /ext/odbc/php_odbc.c | |
parent | 2723ad2e63850863ac4228f2cdb96ba6347b5df2 (diff) | |
download | php-git-685186f9fde754e7f2bb4906ed22c1249b36e475.tar.gz |
This change seems to fix bugs 7158, 7807, 8531, and 8636. After asking why this patch was applied no one seemed to respond with anything useful. If you find this change in error, sorry, I tested it on as many systems as I could.
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r-- | ext/odbc/php_odbc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index ffa4d41013..b0c4e841e2 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -2435,11 +2435,7 @@ PHP_FUNCTION(odbc_autocommit) ZEND_FETCH_RESOURCE2(conn, odbc_connection *, pv_conn, -1, "ODBC-Link", le_conn, le_pconn); -#ifndef HAVE_DBMAKER - if ((*pv_onoff)) { -#else if (pv_onoff && (*pv_onoff)) { -#endif convert_to_long_ex(pv_onoff); rc = SQLSetConnectOption(conn->hdbc, SQL_AUTOCOMMIT, ((*pv_onoff)->value.lval) ? |