[php-src] master: Remove HAVE_MYSQL (#13719)
| From: | Peter Kokot via GitHub | Date: | Fri, 15 Mar 2024 19:47:48 +0000 |
| Subject: | [php-src] master: Remove HAVE_MYSQL (#13719) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-127746@lists.php.net to get a copy of this message | ||
Author: Peter Kokot (petk)
Committer: GitHub (web-flow)
Pusher: petk
Date: 2024-03-15T20:33:59+01:00
Commit: https://github.com/php/php-src/commit/e1181a64d4e725d3d45783be0314b919c2461fdf
Raw diff: https://github.com/php/php-src/commit/e1181a64d4e725d3d45783be0314b919c2461fdf.diff
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.
Changed paths:
M UPGRADING.INTERNALS
M ext/pdo_mysql/config.m4
Diff:
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index e435e35add74c..e0f0ac46f8134 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 992fb078cf084..1c7c654af82c3 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)