summaryrefslogtreecommitdiff
path: root/myisam/rt_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/rt_key.c')
-rw-r--r--myisam/rt_key.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/myisam/rt_key.c b/myisam/rt_key.c
index f18d13af8d8..e05bb744cc1 100644
--- a/myisam/rt_key.c
+++ b/myisam/rt_key.c
@@ -16,6 +16,7 @@
#include "myisamdef.h"
+#ifdef HAVE_RTREE_KEYS
#include "rt_index.h"
#include "rt_key.h"
#include "rt_mbr.h"
@@ -137,3 +138,5 @@ uchar *rtree_choose_key(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *key,
}
return best_key;
}
+
+#endif /*HAVE_RTREE_KEYS*/