]> granicus.if.org Git - php/commitdiff
- MFB: Declarations MUST BE done in the beginning of a context
authorPierre Joye <pajoye@php.net>
Fri, 3 Oct 2008 16:20:56 +0000 (16:20 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 3 Oct 2008 16:20:56 +0000 (16:20 +0000)
ext/mysqli/mysqli.c

index 89bee8c58f173189fd2e0ab195d506fe23968d81..547b7f1e86f7a228c54988e0d50ed84420d8bee3 100644 (file)
@@ -94,8 +94,8 @@ static int le_pmysqli;
 /* 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);
 }