1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00

Trying to fix compiler warnings (on Windows).

This commit is contained in:
Ulf Wendel
2010-10-04 13:36:23 +00:00
parent 159ed311cc
commit 5aca10ee13
2 changed files with 3 additions and 3 deletions

View File

@@ -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)) {

View File

@@ -893,7 +893,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