summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/php_mysqlnd.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-09-28 12:54:23 +0000
committerPierre Joye <pajoye@php.net>2009-09-28 12:54:23 +0000
commitf5e52c9a79073fc06132a563d8461cf8cd61232a (patch)
tree6f8fcd487bc640bd0c37d5cb114c251103dd5aef /ext/mysqlnd/php_mysqlnd.c
parent1e0d7fc509ff76d1d1943300acb6a4fe6646b8eb (diff)
downloadphp-git-f5e52c9a79073fc06132a563d8461cf8cd61232a.tar.gz
- fix TS build, this macro contains code and declaration, always put it right after your declaration
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 190038ffb2..00fd8c454e 100644
--- a/ext/mysqlnd/php_mysqlnd.c
+++ b/ext/mysqlnd/php_mysqlnd.c
@@ -46,14 +46,14 @@ 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);
convert_to_string(*values_entry);