We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c99e0d9 commit a884bbfCopy full SHA for a884bbf
ext/mysqli/mysqli.c
@@ -867,7 +867,7 @@ PHP_RINIT_FUNCTION(mysqli)
867
}
868
/* }}} */
869
870
-#ifdef MYSQLI_USE_MYSQLND
+#if defined(A0) && defined(MYSQLI_USE_MYSQLND)
871
static void php_mysqli_persistent_helper_for_every(void *p)
872
{
873
TSRMLS_FETCH();
@@ -898,7 +898,7 @@ PHP_RSHUTDOWN_FUNCTION(mysqli)
898
if (MyG(error_msg)) {
899
efree(MyG(error_msg));
900
901
-#if defined(A0) && MYSQLI_USE_MYSQLND
902
/* psession is being called when the connection is freed - explicitly or implicitly */
903
zend_hash_apply(&EG(persistent_list), (apply_func_t) php_mysqli_persistent_helper_once TSRMLS_CC);
904
#endif
0 commit comments