From: Sam Ruby Date: Tue, 4 Apr 2000 20:10:11 +0000 (+0000) Subject: Make MySLS_FETCH use the same globals ID as ZEND_INIT_MODULE_GLOBALS X-Git-Tag: php-4.0RC2~488 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a6dddcc0bf1a6f1e51499f3820361603ac78a77;p=php Make MySLS_FETCH use the same globals ID as ZEND_INIT_MODULE_GLOBALS --- diff --git a/ext/mysql/php_mysql.h b/ext/mysql/php_mysql.h index 50c79a49bf..2716840b95 100644 --- a/ext/mysql/php_mysql.h +++ b/ext/mysql/php_mysql.h @@ -95,7 +95,7 @@ ZEND_END_MODULE_GLOBALS(mysql); # define MySLS_C mysql_globals # define MySLS_CC , MySLS_C # define MySG(v) (mysql_globals->v) -# define MySLS_FETCH() zend_mysql_globals *mysql_globals = ts_resource(mysql_module_entry.globals_id) +# define MySLS_FETCH() zend_mysql_globals *mysql_globals = ts_resource(mysql_globals_id) #else # define MySLS_D # define MySLS_DC