summaryrefslogtreecommitdiff
path: root/myisam/rt_test.c
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-05-27 16:32:49 +0500
committerunknown <hf@deer.(none)>2004-05-27 16:32:49 +0500
commit7f49646cf3be49c0f9a9a9f8599e9bea2223e08a (patch)
tree019f859000d45cddee40cd07a8a14076fcfa4c6f /myisam/rt_test.c
parentaa6ff1cf682437d3e083bc25617fdc57d3a149d3 (diff)
parent805897cdb81f36b775eb4917f606afdef36c63a8 (diff)
downloadmariadb-git-7f49646cf3be49c0f9a9a9f8599e9bea2223e08a.tar.gz
Merging
myisam/mi_create.c: Auto merged myisam/mi_open.c: Auto merged myisam/rt_test.c: Auto merged myisam/sp_test.c: Auto merged sql/spatial.cc: Auto merged sql/spatial.h: Auto merged sql/sql_yacc.yy: Auto merged myisam/mi_range.c: merging myisam/mi_rnext.c: merging
Diffstat (limited to 'myisam/rt_test.c')
-rw-r--r--myisam/rt_test.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/myisam/rt_test.c b/myisam/rt_test.c
index 41cc56d4d78..5bf390cd0d8 100644
--- a/myisam/rt_test.c
+++ b/myisam/rt_test.c
@@ -19,6 +19,9 @@
#include "myisam.h"
+
+#ifdef HAVE_RTREE_KEYS
+
#include "rt_index.h"
#define MAX_REC_LENGTH 1024
@@ -398,3 +401,10 @@ static void create_record(char *record,uint rownr)
pos+=sizeof(c);
}
}
+
+#else
+int main(int argc __attribute__((unused)),char *argv[] __attribute__((unused)))
+{
+ exit(0);
+}
+#endif /*HAVE_RTREE_KEYS*/