mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
7e52383d61
The problem is that now server works properly only with the row-based replication config/ac-macros/ha_ndbcluster.m4: WITH_NDB_BINLOG instead of HAVE_NDB_BINLOG in config.h config/ac-macros/replication.m4: WITH_ROW_BASED_REPLICATION instead of HAVE_ROW_BASED_REPLICATION in config.h sql/log.cc: some #ifdef HAVE_ROW_BASED_REPLICATION added sql/mysqld.cc: some #ifdef HAVE_ROW_BASED_REPLICATION added sql/set_var.cc: some #ifdef HAVE_ROW_BASED_REPLICATION added sql/sql_base.cc: some #ifdef HAVE_ROW_BASED_REPLICATION added sql/sql_class.cc: some #ifdef HAVE_ROW_BASED_REPLICATION added sql/sql_class.h: some #ifdef HAVE_ROW_BASED_REPLICATION added sql/sql_parse.cc: some #ifdef HAVE_ROW_BASED_REPLICATION added
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
dnl This file contains configuration parameters for replication.
|
|
|
|
dnl ---------------------------------------------------------------------------
|
|
dnl Macro: MYSQL_CHECK_REPLICATION
|
|
dnl Sets HAVE_ROW_BASED_REPLICATION if --with-row-based-replication is used
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
AC_DEFUN([MYSQL_CHECK_REPLICATION], [
|
|
AC_ARG_WITH([row-based-replication],
|
|
AC_HELP_STRING([--without-row-based-replication],
|
|
[Don't include row-based replication]),
|
|
[row_based="$withval"],
|
|
[row_based=yes])
|
|
AC_MSG_CHECKING([for row-based replication])
|
|
|
|
case "$row_based" in
|
|
yes )
|
|
AC_DEFINE([WITH_ROW_BASED_REPLICATION], [1], [Define to have row-based replication])
|
|
AC_MSG_RESULT([-- including row-based replication])
|
|
[have_row_based=yes]
|
|
;;
|
|
* )
|
|
AC_MSG_RESULT([-- not including row-based replication])
|
|
[have_row_based=no]
|
|
;;
|
|
esac
|
|
])
|
|
dnl ---------------------------------------------------------------------------
|
|
dnl END OF MYSQL_CHECK_REPLICATION
|
|
dnl ---------------------------------------------------------------------------
|