From 3d373f86f0c0c967760d0f09a5398fe054e3039d Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 9 Jul 2005 18:52:36 +0000 Subject: [PATCH] Related to #33624. Crashes for me on shutdown, but seems ok for the rest of the world. --- ext/pdo_odbc/odbc_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1