summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/php_mysqlnd.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-11-30 10:56:01 +0000
committerPierre Joye <pajoye@php.net>2009-11-30 10:56:01 +0000
commit2a3ec70d100e2d721b2d14fd0a60ce90c17b51b8 (patch)
tree73cc90d10ca2d3db695d8ad6cec4cacb3a62aa41 /ext/mysqlnd/php_mysqlnd.c
parent8109abba8b4b037b192af4e8f2f0498d1d1b2926 (diff)
downloadphp-git-2a3ec70d100e2d721b2d14fd0a60ce90c17b51b8.tar.gz
- void is NaN, you can't do math ops on void. Declarations go first. Fix TS build
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 59ed0abc76..585e5d86a7 100644
--- a/ext/mysqlnd/php_mysqlnd.c
+++ b/ext/mysqlnd/php_mysqlnd.c
@@ -45,14 +45,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);