mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
Adding rules for building blackhole, also updating test case.
configure.in: Adding logic to run blackhole configure option. mysql-test/r/blackhole.result: Correction this, but I think I need to see why the warning is being generated in the first place.
This commit is contained in:
parent
752b825a73
commit
e3528e0d1c
3 changed files with 31 additions and 1 deletions
29
config/ac-macros/ha_blackhole.m4
Normal file
29
config/ac-macros/ha_blackhole.m4
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
dnl ---------------------------------------------------------------------------
|
||||
dnl Macro: MYSQL_CHECK_BLACKHOLEDB
|
||||
dnl Sets HAVE_BLACKHOLE_DB if --with-blackhole-storage-engine is used
|
||||
dnl ---------------------------------------------------------------------------
|
||||
AC_DEFUN([MYSQL_CHECK_BLACKHOLEDB], [
|
||||
AC_ARG_WITH([blackhole-storage-engine],
|
||||
[
|
||||
--with-blackhole-storage-engine
|
||||
Enable the Blackhole Storage Engine],
|
||||
[blackholedb="$withval"],
|
||||
[blackholedb=no])
|
||||
AC_MSG_CHECKING([for blackhole storage engine])
|
||||
|
||||
case "$blackholedb" in
|
||||
yes )
|
||||
AC_DEFINE([HAVE_BLACKHOLE_DB], [1], [Builds Blackhole Storage Engine])
|
||||
AC_MSG_RESULT([yes])
|
||||
[blackholedb=yes]
|
||||
;;
|
||||
* )
|
||||
AC_MSG_RESULT([no])
|
||||
[blackholedb=no]
|
||||
;;
|
||||
esac
|
||||
|
||||
])
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl END OF MYSQL_CHECK_BLACKHOLE SECTION
|
||||
dnl ---------------------------------------------------------------------------
|
||||
Loading…
Add table
Add a link
Reference in a new issue