diff options
author | hf@deer.(none) <> | 2004-03-12 18:51:03 +0400 |
---|---|---|
committer | hf@deer.(none) <> | 2004-03-12 18:51:03 +0400 |
commit | ec457a96efea6ab8eb1111e1659b60af62f12032 (patch) | |
tree | 416c45416bcc8605ff5754473476ddabbd22fe2f /myisam/rt_test.c | |
parent | 6aa1cc4a6387ffdba81c4959259f3249643e8fe5 (diff) | |
download | mariadb-git-ec457a96efea6ab8eb1111e1659b60af62f12032.tar.gz |
WL#1163 To make spatial code optional
myisam spatial code isolated
Diffstat (limited to 'myisam/rt_test.c')
-rw-r--r-- | myisam/rt_test.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/myisam/rt_test.c b/myisam/rt_test.c index bbeb8fce2d1..ecf7b411511 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 @@ -419,3 +422,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*/ |