mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Trying to fix compiler warnings (on Windows).
This commit is contained in:
parent
d7b26d2987
commit
926ba0d9c7
@ -637,7 +637,7 @@ PHP_RSHUTDOWN_FUNCTION(mysql)
|
||||
efree(MySG(connect_error));
|
||||
}
|
||||
|
||||
#ifdef A0 && MYSQL_USE_MYSQLND
|
||||
#if defined(A0) && MYSQL_USE_MYSQLND
|
||||
zend_hash_apply(&EG(persistent_list), (apply_func_t) php_mysql_persistent_helper TSRMLS_CC);
|
||||
#endif
|
||||
|
||||
@ -888,7 +888,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
||||
mysql->multi_query = 0;
|
||||
#endif
|
||||
/* ensure that the link did not die */
|
||||
#if A0 && defined(MYSQL_USE_MYSQLND)
|
||||
#if defined(A0) && MYSQL_USE_MYSQLND
|
||||
mysqlnd_end_psession(mysql->conn);
|
||||
#endif
|
||||
if (mysql_ping(mysql->conn)) {
|
||||
|
@ -895,7 +895,7 @@ PHP_RSHUTDOWN_FUNCTION(mysqli)
|
||||
if (MyG(error_msg)) {
|
||||
efree(MyG(error_msg));
|
||||
}
|
||||
#ifdef A0 && MYSQLI_USE_MYSQLND
|
||||
#if defined(A0) && 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
|
||||
|
Loading…
Reference in New Issue
Block a user