diff options
author | Andrey Hristov <andrey@php.net> | 2011-08-02 14:02:21 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2011-08-02 14:02:21 +0000 |
commit | 66bba32627e6a247aefd4720eacfeb66542f87bf (patch) | |
tree | 4cb57ef9e636db2bee6cc7e5213abbff42a49b1d /ext | |
parent | 0ea2ef125b88fc996e2405221ea98112e3abdcd5 (diff) | |
download | php-git-66bba32627e6a247aefd4720eacfeb66542f87bf.tar.gz |
compile out both parts of the code that are currently unused - fixes a compilation warning
Diffstat (limited to 'ext')
-rw-r--r-- | ext/mysqli/mysqli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 289d44f576..d6ec47deee 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -865,7 +865,7 @@ PHP_RINIT_FUNCTION(mysqli) } /* }}} */ -#ifdef MYSQLI_USE_MYSQLND +#if defined(A0) && defined(MYSQLI_USE_MYSQLND) static void php_mysqli_persistent_helper_for_every(void *p) { TSRMLS_FETCH(); @@ -896,7 +896,7 @@ PHP_RSHUTDOWN_FUNCTION(mysqli) if (MyG(error_msg)) { efree(MyG(error_msg)); } -#if defined(A0) && MYSQLI_USE_MYSQLND +#if defined(A0) && defined(MYSQLI_USE_MYSQLND) /* psession is being called when the connection is freed - explicitly or implicitly */ zend_hash_apply(&EG(persistent_list), (apply_func_t) php_mysqli_persistent_helper_once TSRMLS_CC); #endif |