]> granicus.if.org Git - php/commitdiff
- declaration first (fix build win)
authorPierre Joye <pajoye@php.net>
Sat, 22 Nov 2008 23:52:40 +0000 (23:52 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 22 Nov 2008 23:52:40 +0000 (23:52 +0000)
ext/mysqlnd/php_mysqlnd.c

index fa0dcf55494b742a1abea4b13ed12d1c9bd995ed..5d73504859ba432effae74e40bd7dcf7b1f76073 100644 (file)
@@ -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);