From: Sascha Schumann Date: Sat, 5 May 2001 11:11:32 +0000 (+0000) Subject: Fix broken ZTS build. X-Git-Tag: php-4.0.6RC1~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d998ae4e5b66872c9aec1aa81b5a6d30f5f08b84;p=php Fix broken ZTS build. --- diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 82509151df..078e48b4d0 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -331,6 +331,7 @@ PHP_RINIT_FUNCTION(mysql) PHP_RSHUTDOWN_FUNCTION(mysql) { + MySLS_FETCH(); if (MySG(connect_error)!=NULL) { efree(MySG(connect_error)); }