Created
November 30, 2018 14:49
-
-
Save KalleZ/059daf754700c7b404d7a318b0f46fc8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ext/mysqli/config.w32 | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/ext/mysqli/config.w32 b/ext/mysqli/config.w32 | |
index 4d8630c27d..aeb9a1512d 100644 | |
--- a/ext/mysqli/config.w32 | |
+++ b/ext/mysqli/config.w32 | |
@@ -22,7 +22,7 @@ if (PHP_MYSQLI != "no") { | |
"mysqli_warning.c"; | |
if (PHP_MYSQLI == "yes" || PHP_MYSQLI == "mysqlnd") { | |
- EXTENSION("mysqli", mysqli_source, PHP_MYSQLI_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); | |
+ EXTENSION("mysqli", mysqli_source, PHP_MYSQLI_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /DMYSQLI_NO_CHANGE_USER_ON_PCONNECT"); | |
AC_DEFINE('MYSQLI_USE_MYSQLND', 1, 'Using MySQL native driver'); | |
AC_DEFINE('HAVE_MYSQLILIB', 1, 'Have MySQLi library'); | |
ADD_EXTENSION_DEP('mysqli', 'mysqlnd', true); | |
@@ -33,7 +33,7 @@ if (PHP_MYSQLI != "no") { | |
CHECK_HEADER_ADD_INCLUDE("mysql.h", "CFLAGS_MYSQLI", PHP_MYSQLI + | |
"\\include;" + PHP_PHP_BUILD + | |
"\\include\\mysql;" + PHP_MYSQLI)) { | |
- EXTENSION("mysqli", mysqli_source, PHP_MYSQLI_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); | |
+ EXTENSION("mysqli", mysqli_source, PHP_MYSQLI_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /DMYSQLI_NO_CHANGE_USER_ON_PCONNECT"); | |
AC_DEFINE('HAVE_MYSQLILIB', 1, 'Have MySQLi library'); | |
MESSAGE("\tlibmysql build"); | |
PHP_INSTALL_HEADERS("ext/mysqli", "php_mysqli_structs.h"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment