pajoye          Fri Oct  3 16:20:57 2008 UTC

  Modified files:              
    /php-src/ext/mysqli mysqli.c 
  Log:
  - MFB: Declarations MUST BE done in the beginning of a context
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/mysqli.c?r1=1.135&r2=1.136&diff_format=u
Index: php-src/ext/mysqli/mysqli.c
diff -u php-src/ext/mysqli/mysqli.c:1.135 php-src/ext/mysqli/mysqli.c:1.136
--- php-src/ext/mysqli/mysqli.c:1.135   Fri Sep 19 11:39:53 2008
+++ php-src/ext/mysqli/mysqli.c Fri Oct  3 16:20:56 2008
@@ -17,7 +17,7 @@
   |          Ulf Wendel <[EMAIL PROTECTED]>                                    
 |
   +----------------------------------------------------------------------+
 
-  $Id: mysqli.c,v 1.135 2008/09/19 11:39:53 andrey Exp $ 
+  $Id: mysqli.c,v 1.136 2008/10/03 16:20:56 pajoye Exp $ 
 */
 
 #ifdef HAVE_CONFIG_H
@@ -94,8 +94,8 @@
 /* Destructor for mysqli entries in free_links/used_links */
 void php_mysqli_dtor_p_elements(void *data)
 {
-       TSRMLS_FETCH();
        MYSQL *mysql = (MYSQL *) data;
+       TSRMLS_FETCH();
        mysqli_close(mysql, MYSQLI_CLOSE_IMPLICIT);
 }
 



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

Reply via email to