summaryrefslogtreecommitdiff
path: root/include
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
commit0c2189de2eb3e933ac32c9776768bab2d405e26c (patch)
tree9fe5e297e49792fc87f44b4c65d620a969c018f5 /include
parent73fd7b446f76e728780632abec3e6719a14b96f4 (diff)
downloadmariadb-git-0c2189de2eb3e933ac32c9776768bab2d405e26c.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')
-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 */