summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-03-24 20:01:55 +0100
committerSergei Golubchik <sergii@pisem.net>2014-03-24 20:01:55 +0100
commitc11c64e97208af18bbf2a1d684af19efbbed495e (patch)
treec03b65945c2167b42ee2ae2caea8bdba1dc021c0 /include/my_global.h
parentc18fb72e71588e6f33fcdaee23093d1f07fb4c78 (diff)
downloadmariadb-git-c11c64e97208af18bbf2a1d684af19efbbed495e.tar.gz
MDEV-5822 TokuDB fails to compile without partition storage engine
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index e5d46a084af..7607e02ce3f 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -89,6 +89,12 @@
#define IF_WIN(A,B) B
#endif
+#ifdef WITH_PARTITION_STORAGE_ENGINE
+#define IF_PARTITIONING(A,B) A
+#else
+#define IF_PARTITIONING(A,B) B
+#endif
+
#ifndef EMBEDDED_LIBRARY
#ifdef WITH_NDB_BINLOG
#define HAVE_NDB_BINLOG 1