summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/php_mysqlnd.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-06-11 08:30:08 +0000
committerAndrey Hristov <andrey@php.net>2009-06-11 08:30:08 +0000
commita3b85c28c60d83a97d57329489ac0507af9db7ff (patch)
treefcbec3feb376bf9962d04f5c77e0d6f7e9fdc16f /ext/mysqlnd/php_mysqlnd.c
parent8da7275f1bc50d1eda5984bf386766b83461f3d7 (diff)
downloadphp-git-a3b85c28c60d83a97d57329489ac0507af9db7ff.tar.gz
Sync with PHP6 - TSRMLS_FETCH
Extract reference decrement in own function Remove PHPAPI of a function and make it static as it is not called externally
Diffstat (limited to 'ext/mysqlnd/php_mysqlnd.c')
-rw-r--r--ext/mysqlnd/php_mysqlnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/php_mysqlnd.c b/ext/mysqlnd/php_mysqlnd.c
index 7ebb748024..196b96e884 100644
--- a/ext/mysqlnd/php_mysqlnd.c
+++ b/ext/mysqlnd/php_mysqlnd.c
@@ -46,13 +46,13 @@ PHPAPI void mysqlnd_minfo_print_hash(zval *values)
zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(values), &pos_values);
while (zend_hash_get_current_data_ex(Z_ARRVAL_P(values),
- (void **)&values_entry, &pos_values) == SUCCESS) {
- TSRMLS_FETCH();
+ (void **)&values_entry, &pos_values) == SUCCESS) {
zstr string_key;
uint string_key_len;
ulong num_key;
int s_len;
char *s = NULL;
+ TSRMLS_FETCH();
zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &string_key, &string_key_len, &num_key, 0, &pos_values);