]> granicus.if.org Git - php/commitdiff
Related to #33624. Crashes for me on shutdown, but seems ok for the rest of the...
authorWez Furlong <wez@php.net>
Sat, 9 Jul 2005 18:52:36 +0000 (18:52 +0000)
committerWez Furlong <wez@php.net>
Sat, 9 Jul 2005 18:52:36 +0000 (18:52 +0000)
ext/pdo_odbc/odbc_driver.c

index 4e183f055b18520f157f55ac2604acf884a50828..8440d188ff68af8e312d3aa3ce785691b4078c3a 100755 (executable)
@@ -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);