pajoye          Sat Nov 22 23:52:40 2008 UTC

  Modified files:              
    /php-src/ext/mysqlnd        php_mysqlnd.c 
  Log:
  - declaration first (fix build win)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqlnd/php_mysqlnd.c?r1=1.9&r2=1.10&diff_format=u
Index: php-src/ext/mysqlnd/php_mysqlnd.c
diff -u php-src/ext/mysqlnd/php_mysqlnd.c:1.9 
php-src/ext/mysqlnd/php_mysqlnd.c:1.10
--- php-src/ext/mysqlnd/php_mysqlnd.c:1.9       Fri Oct 31 20:30:33 2008
+++ php-src/ext/mysqlnd/php_mysqlnd.c   Sat Nov 22 23:52:40 2008
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: php_mysqlnd.c,v 1.9 2008/10/31 20:30:33 andrey Exp $ */
+/* $Id: php_mysqlnd.c,v 1.10 2008/11/22 23:52:40 pajoye Exp $ */
 #include "php.h"
 #include "php_ini.h"
 #include "mysqlnd.h"
@@ -46,13 +46,14 @@
 
        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);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to