Skip to content

Commit e1181a6

Browse files
authored
Remove HAVE_MYSQL (php#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.
1 parent 54ee85b commit e1181a6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

UPGRADING.INTERNALS

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES
111111
- Symbol HAVE_BSD_ICONV has been removed.
112112
- Symbol ZEND_FIBER_ASM has been removed.
113113
- Symbols HAVE_DLOPEN and HAVE_DLSYM have been removed.
114+
- Symbol HAVE_MYSQL has been removed.
114115
- M4 macro PHP_DEFINE (atomic includes) removed (use AC_DEFINE and config.h).
115116
- M4 macro PHP_WITH_SHARED has been removed (use PHP_ARG_WITH).
116117
- M4 macro PHP_STRUCT_FLOCK has been removed (use AC_CHECK_TYPES).

ext/pdo_mysql/config.m4

-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ if test "$PHP_PDO_MYSQL" != "no"; then
4141
PHP_MYSQLND_ENABLED=yes
4242
AC_DEFINE([PDO_USE_MYSQLND], 1, [Whether pdo_mysql uses mysqlnd])
4343
else
44-
AC_DEFINE(HAVE_MYSQL, 1, [Whether you have MySQL])
45-
4644
AC_MSG_CHECKING([for mysql_config])
4745
if test -n "$PDO_MYSQL_CONFIG"; then
4846
AC_MSG_RESULT($PDO_MYSQL_CONFIG)

0 commit comments

Comments
 (0)