Skip to content

Commit 4984bd1

Browse files
committed
Remove MYSQLND_COMPRESSION_WANTED define
Instead directly define MYSQLND_COMPRESSION_ENABLED. This also matches what config.w32 does.
1 parent fc458ee commit 4984bd1

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

ext/mysqlnd/config9.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if test "$PHP_MYSQLND" != "no" || test "$PHP_MYSQLND_ENABLED" = "yes"; then
2727
PKG_CHECK_MODULES([ZLIB], [zlib])
2828
PHP_EVAL_LIBLINE($ZLIB_LIBS, MYSQLND_SHARED_LIBADD)
2929
PHP_EVAL_INCLINE($ZLIB_CFLAGS)
30-
AC_DEFINE([MYSQLND_COMPRESSION_WANTED], 1, [Enable compressed protocol support])
30+
AC_DEFINE([MYSQLND_COMPRESSION_ENABLED], 1, [Enable compressed protocol support])
3131
fi
3232

3333
AC_DEFINE([MYSQLND_SSL_SUPPORTED], 1, [Enable core mysqlnd SSL code])

ext/mysqlnd/mysqlnd.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@
4646
#define MYSQLND_DBG_ENABLED 0
4747
#endif
4848

49-
#if defined(MYSQLND_COMPRESSION_WANTED)
50-
#define MYSQLND_COMPRESSION_ENABLED 1
51-
#endif
52-
5349
#ifdef ZTS
5450
#include "TSRM.h"
5551
#endif

0 commit comments

Comments
 (0)