mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
7d2e580cad
configure.in: inclusion of federated handler autoheader macro mysql-test/mysql-test-run.sh: allow usage of replication tests for federated handler sql/Makefile.am: inclusion of federated header and source file sql/field.h: overloaded method val_str() to work with fields in 'old_data' in 'update_row()' sql/handler.cc: added code to include federated handler sql/handler.h: add db type for federated sql/mysql_priv.h: added code for federated handler sql/mysqld.cc: added code for federated handler sql/set_var.cc: added code for federated handler
29 lines
1 KiB
Text
29 lines
1 KiB
Text
dnl ---------------------------------------------------------------------------
|
|
dnl Macro: MYSQL_CHECK_FEDERATED
|
|
dnl Sets HAVE_FEDERATED if --with-federated-storage-engine is used
|
|
dnl ---------------------------------------------------------------------------
|
|
AC_DEFUN([MYSQL_CHECK_FEDERATED], [
|
|
AC_ARG_WITH([federated-storage-engine],
|
|
[
|
|
--with-federated-storage-engine
|
|
Enable the MySQL Storage Engine],
|
|
[federateddb="$withval"],
|
|
[federateddb=no])
|
|
AC_MSG_CHECKING([for MySQL federated storage engine])
|
|
|
|
case "$federateddb" in
|
|
yes )
|
|
AC_DEFINE([HAVE_FEDERATED_DB], [1], [Define to enable Federated Handler])
|
|
AC_MSG_RESULT([yes])
|
|
[federateddb=yes]
|
|
;;
|
|
* )
|
|
AC_MSG_RESULT([no])
|
|
[federateddb=no]
|
|
;;
|
|
esac
|
|
|
|
])
|
|
dnl ---------------------------------------------------------------------------
|
|
dnl END OF MYSQL_CHECK_FEDERATED SECTION
|
|
dnl ---------------------------------------------------------------------------
|