mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
compile out both parts of the code that are currently unused - fixes a compilation warning
This commit is contained in:
parent
c99e0d9314
commit
a884bbf1e9
1 changed files with 2 additions and 2 deletions
|
@ -867,7 +867,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)
|
static void php_mysqli_persistent_helper_for_every(void *p)
|
||||||
{
|
{
|
||||||
TSRMLS_FETCH();
|
TSRMLS_FETCH();
|
||||||
|
@ -898,7 +898,7 @@ PHP_RSHUTDOWN_FUNCTION(mysqli)
|
||||||
if (MyG(error_msg)) {
|
if (MyG(error_msg)) {
|
||||||
efree(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 */
|
/* 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);
|
zend_hash_apply(&EG(persistent_list), (apply_func_t) php_mysqli_persistent_helper_once TSRMLS_CC);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue