summaryrefslogtreecommitdiff
path: root/ext/pdo_odbc/odbc_driver.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-07-09 18:52:36 +0000
committerWez Furlong <wez@php.net>2005-07-09 18:52:36 +0000
commit3d373f86f0c0c967760d0f09a5398fe054e3039d (patch)
tree9b0963deece0b3ce56c086ebc0277d3673eeb2bc /ext/pdo_odbc/odbc_driver.c
parent44713e7b63604f6fb639903dfb469dbcdd21f27f (diff)
downloadphp-git-3d373f86f0c0c967760d0f09a5398fe054e3039d.tar.gz
Related to #33624. Crashes for me on shutdown, but seems ok for the rest of the world.
Diffstat (limited to 'ext/pdo_odbc/odbc_driver.c')
-rwxr-xr-xext/pdo_odbc/odbc_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_odbc/odbc_driver.c b/ext/pdo_odbc/odbc_driver.c
index 4e183f055b..8440d188ff 100755
--- a/ext/pdo_odbc/odbc_driver.c
+++ b/ext/pdo_odbc/odbc_driver.c
@@ -98,7 +98,7 @@ static int odbc_handle_closer(pdo_dbh_t *dbh TSRMLS_DC)
pdo_odbc_db_handle *H = (pdo_odbc_db_handle*)dbh->driver_data;
if (H->dbc != SQL_NULL_HANDLE) {
SQLEndTran(SQL_HANDLE_DBC, H->dbc, SQL_ROLLBACK);
-#ifndef PHP_WIN32 /* avoiding a bug I've found on my XP box */
+#ifndef A_BUG_ON_FOR_WEZ_ON_PHP_WIN32 /* avoiding a bug I've found on my XP box */
SQLDisconnect(H->dbc);
#endif
SQLFreeHandle(SQL_HANDLE_DBC, H->dbc);