summaryrefslogtreecommitdiff
path: root/ext/mysql
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2010-10-04 13:36:23 (GMT)
committerUlf Wendel <uw@php.net>2010-10-04 13:36:23 (GMT)
commit926ba0d9c738f15a5496f306ce65fd9cbb5974c4 (patch)
tree08fcbfe33074e4b6961af6f9a066b7dfe1e82b69 /ext/mysql
parentd7b26d2987c03a7b01db9881ce53037b3fcdf9ad (diff)
downloadphp-926ba0d9c738f15a5496f306ce65fd9cbb5974c4.tar.gz
Trying to fix compiler warnings (on Windows).
Diffstat (limited to 'ext/mysql')
-rw-r--r--ext/mysql/php_mysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 42f4c15..6d01300 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -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)) {