1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

WL#1163 To make spatial code optional

myisam spatial code isolated
This commit is contained in:
hf@deer.(none)
2004-03-12 18:51:03 +04:00
parent 6aa1cc4a63
commit ec457a96ef
21 changed files with 86 additions and 9 deletions

View File

@ -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*/