summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.h
diff options
context:
space:
mode:
authorSam Ruby <rubys@php.net>2000-04-04 20:10:11 +0000
committerSam Ruby <rubys@php.net>2000-04-04 20:10:11 +0000
commit7a6dddcc0bf1a6f1e51499f3820361603ac78a77 (patch)
treed6b7d06de4f7f109cb402a5b2698dc2a75cf2c3e /ext/mysql/php_mysql.h
parent2a15b85ca109bad97ce1895d72533cb772511bde (diff)
downloadphp-git-7a6dddcc0bf1a6f1e51499f3820361603ac78a77.tar.gz
Make MySLS_FETCH use the same globals ID as ZEND_INIT_MODULE_GLOBALS
Diffstat (limited to 'ext/mysql/php_mysql.h')
-rw-r--r--ext/mysql/php_mysql.h2
1 files changed, 1 insertions, 1 deletions
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