diff options
author | Andrey Hristov <andrey@php.net> | 2011-08-02 14:18:56 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2011-08-02 14:18:56 +0000 |
commit | a7fd79b9483edb8a2c470f190437551613370c22 (patch) | |
tree | 9c5d4f70eb53f811e4997842955b4e0c8745936b | |
parent | a884bbf1e981fa8233f59a6d6235347e8ba29ceb (diff) | |
download | php-git-a7fd79b9483edb8a2c470f190437551613370c22.tar.gz |
completely compile out a currently non-needed function
-rw-r--r-- | ext/mysql/php_mysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 78972c95c1..f6fd05eb91 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -608,7 +608,7 @@ PHP_RINIT_FUNCTION(mysql) /* }}} */ -#ifdef MYSQL_USE_MYSQLND +#if defined(A0) && defined(MYSQL_USE_MYSQLND) static int php_mysql_persistent_helper(zend_rsrc_list_entry *le TSRMLS_DC) { if (le->type == le_plink) { @@ -637,7 +637,7 @@ PHP_RSHUTDOWN_FUNCTION(mysql) efree(MySG(connect_error)); } -#if defined(A0) && MYSQL_USE_MYSQLND +#if defined(A0) && defined(MYSQL_USE_MYSQLND) zend_hash_apply(&EG(persistent_list), (apply_func_t) php_mysql_persistent_helper TSRMLS_CC); #endif |