summaryrefslogtreecommitdiff
path: root/myisam/rt_index.c
diff options
context:
space:
mode:
authorhf@deer.(none) <>2004-03-12 18:51:03 +0400
committerhf@deer.(none) <>2004-03-12 18:51:03 +0400
commitec457a96efea6ab8eb1111e1659b60af62f12032 (patch)
tree416c45416bcc8605ff5754473476ddabbd22fe2f /myisam/rt_index.c
parent6aa1cc4a6387ffdba81c4959259f3249643e8fe5 (diff)
downloadmariadb-git-ec457a96efea6ab8eb1111e1659b60af62f12032.tar.gz
WL#1163 To make spatial code optional
myisam spatial code isolated
Diffstat (limited to 'myisam/rt_index.c')
-rw-r--r--myisam/rt_index.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/myisam/rt_index.c b/myisam/rt_index.c
index 30146b9fd67..6a2606a1f8e 100644
--- a/myisam/rt_index.c
+++ b/myisam/rt_index.c
@@ -17,6 +17,8 @@
#include "myisamdef.h"
+#ifdef HAVE_RTREE_KEYS
+
#include "rt_index.h"
#include "rt_key.h"
#include "rt_mbr.h"
@@ -991,3 +993,6 @@ err1:
my_afree((byte*)page_buf);
return HA_POS_ERROR;
}
+
+#endif /*HAVE_RTREE_KEYS*/
+