From 7bf2fe5296f40237272f94d860dc69e451ab13c4 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Tue, 12 Apr 2005 17:45:30 +0000 Subject: Fix for #32682. Error on module shutdown when called from activescript --- ext/mssql/php_mssql.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/mssql/php_mssql.c') diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index 9b9330df8f..af19219d0e 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -321,7 +321,11 @@ PHP_MINIT_FUNCTION(mssql) PHP_MSHUTDOWN_FUNCTION(mssql) { UNREGISTER_INI_ENTRIES(); +#ifndef HAVE_FREETDS + dbwinexit(); +#else dbexit(); +#endif return SUCCESS; } -- cgit v1.2.1