From: Wez Furlong Date: Sat, 9 Jul 2005 18:52:36 +0000 (+0000) Subject: Related to #33624. Crashes for me on shutdown, but seems ok for the rest of the... X-Git-Tag: php-5.1.0b3~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d373f86f0c0c967760d0f09a5398fe054e3039d;p=php Related to #33624. Crashes for me on shutdown, but seems ok for the rest of the world. --- 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);