summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/php_mysqlnd.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-11-22 23:52:40 +0000
committerPierre Joye <pajoye@php.net>2008-11-22 23:52:40 +0000
commit3def8739ceb0551f5da3e6cd896c150a272537b1 (patch)
tree9238fded562d2325850edbf9e5b491956deffd3e /ext/mysqlnd/php_mysqlnd.c
parentc38d1830901a0636127ef1037bf0ed817c9495e5 (diff)
downloadphp-git-3def8739ceb0551f5da3e6cd896c150a272537b1.tar.gz
- declaration first (fix build win)
Diffstat (limited to 'ext/mysqlnd/php_mysqlnd.c')
-rw-r--r--ext/mysqlnd/php_mysqlnd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/mysqlnd/php_mysqlnd.c b/ext/mysqlnd/php_mysqlnd.c
index fa0dcf5549..5d73504859 100644
--- a/ext/mysqlnd/php_mysqlnd.c
+++ b/ext/mysqlnd/php_mysqlnd.c
@@ -46,13 +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;
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);