From e1181a64d4e725d3d45783be0314b919c2461fdf Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 15 Mar 2024 20:33:59 +0100 Subject: [PATCH] Remove HAVE_MYSQL (#13719) The ext/pdo_mysql symbol has been once used together with the removed ext/mysql extension and isn't defined on Windows neither used in the code anymore. --- UPGRADING.INTERNALS | 1 + ext/pdo_mysql/config.m4 | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index e435e35add7..e0f0ac46f81 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -111,6 +111,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES - Symbol HAVE_BSD_ICONV has been removed. - Symbol ZEND_FIBER_ASM has been removed. - Symbols HAVE_DLOPEN and HAVE_DLSYM have been removed. + - Symbol HAVE_MYSQL has been removed. - M4 macro PHP_DEFINE (atomic includes) removed (use AC_DEFINE and config.h). - M4 macro PHP_WITH_SHARED has been removed (use PHP_ARG_WITH). - M4 macro PHP_STRUCT_FLOCK has been removed (use AC_CHECK_TYPES). diff --git a/ext/pdo_mysql/config.m4 b/ext/pdo_mysql/config.m4 index 992fb078cf0..1c7c654af82 100644 --- a/ext/pdo_mysql/config.m4 +++ b/ext/pdo_mysql/config.m4 @@ -41,8 +41,6 @@ if test "$PHP_PDO_MYSQL" != "no"; then PHP_MYSQLND_ENABLED=yes AC_DEFINE([PDO_USE_MYSQLND], 1, [Whether pdo_mysql uses mysqlnd]) else - AC_DEFINE(HAVE_MYSQL, 1, [Whether you have MySQL]) - AC_MSG_CHECKING([for mysql_config]) if test -n "$PDO_MYSQL_CONFIG"; then AC_MSG_RESULT($PDO_MYSQL_CONFIG)