diff options
| author | Frank M. Kromann <fmk@php.net> | 2005-04-12 17:46:45 +0000 |
|---|---|---|
| committer | Frank M. Kromann <fmk@php.net> | 2005-04-12 17:46:45 +0000 |
| commit | e681512beb141de7f786231a1460bca5f13e1149 (patch) | |
| tree | de0736037a03f107dc5114beb0ee012f5513503b /ext/mssql/php_mssql.c | |
| parent | b3acf2c5c4deb1e5f232319f726d233ad51bf6a9 (diff) | |
| download | php-git-e681512beb141de7f786231a1460bca5f13e1149.tar.gz | |
MFH: Fix for #32682. Error on module shutdown when called from activescript
Diffstat (limited to 'ext/mssql/php_mssql.c')
| -rw-r--r-- | ext/mssql/php_mssql.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index d6b5a75f16..532e763d6d 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -317,7 +317,11 @@ PHP_MINIT_FUNCTION(mssql) PHP_MSHUTDOWN_FUNCTION(mssql) { UNREGISTER_INI_ENTRIES(); +#ifndef HAVE_FREETDS + dbwinexit(); +#else dbexit(); +#endif return SUCCESS; } |
