From 3354b3a4801965ad11dbac5b479daa5f0a891b14 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Tue, 1 Jan 2008 18:13:14 +0000 Subject: [PATCH] fixed binary arithmetic (MF5.2) --- ext/mysqli/mysqli_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 59628226bb..76c10758c2 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -1626,7 +1626,7 @@ PHP_FUNCTION(mysqli_real_connect) /* remove some insecure options */ flags &= ~CLIENT_MULTI_STATEMENTS; /* don't allow multi_queries via connect parameter */ if (PG(open_basedir) && PG(open_basedir)[0] != '\0') { - flags ^= CLIENT_LOCAL_FILES; + flags &= ~CLIENT_LOCAL_FILES; } #if !defined(HAVE_MYSQLND) -- 2.50.1