1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Enable static tsrmls cache in pdo_mysql with mysqlnd (#14634)

The tsrmls cache has been integrated in
aac7b1db7c but not enabled when pdo_mysql
is built for mysqlnd extension.
This commit is contained in:
Peter Kokot
2024-06-23 21:12:35 +02:00
committed by GitHub
parent df12ffcc77
commit 8d876e435b

View File

@@ -6,7 +6,7 @@ if (PHP_PDO_MYSQL != "no") {
if (PHP_PDO_MYSQL == "yes" || PHP_PDO_MYSQL == "mysqlnd") {
AC_DEFINE('PDO_USE_MYSQLND', 1, 'Using MySQL native driver');
STDOUT.WriteLine("INFO: mysqlnd build");
EXTENSION("pdo_mysql", "pdo_mysql.c mysql_driver.c mysql_statement.c mysql_sql_parser.c");
EXTENSION("pdo_mysql", "pdo_mysql.c mysql_driver.c mysql_statement.c mysql_sql_parser.c", null, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
ADD_EXTENSION_DEP('pdo_mysql', 'pdo');
ADD_EXTENSION_DEP('pdo_mysql', 'mysqlnd');
ADD_MAKEFILE_FRAGMENT();