summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-03-15 16:51:05 +0400
committerunknown <hf@deer.(none)>2004-03-15 16:51:05 +0400
commitd367d8a5a1d428377c69e647ee0d43cb0ecd6f8d (patch)
tree9fe5e297e49792fc87f44b4c65d620a969c018f5 /include/my_global.h
parent22657f672c8d4c005f85cd3efc714d98b635f3f0 (diff)
downloadmariadb-git-d367d8a5a1d428377c69e647ee0d43cb0ecd6f8d.tar.gz
WL#1163 (to make spatial parts optional)
--without-geometry and --with-embedded-privilege-control switches added to the configure configure.in: --without-geometry and --with-embedded-privilege-control switches added to the configure include/my_global.h: HAVE_SPATIAL should be in configure.h now
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 2a82173979d..46ad99811f7 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -1169,6 +1169,8 @@ typedef union {
#define MYSQL_UNIVERSAL_CLIENT_CHARSET MYSQL_DEFAULT_CHARSET_NAME
#endif
-#define HAVE_SPATIAL
-#define HAVE_RTREE_KEYS
+#if defined(EMBEDDED_LIBRARY) && !defined(HAVE_EMBEDDED_PRIVILEGE_CONTROL)
+#define NO_EMBEDDED_ACCESS_CHECKS
+#endif
+
#endif /* my_global_h */