1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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

@ -18,6 +18,8 @@
/* Written by Alex Barkov, who has a shared copyright to this code */
#include "myisam.h"
#ifdef HAVE_SPATIAL
#include "sp_defs.h"
#define MAX_REC_LENGTH 1024
@ -575,3 +577,11 @@ static void rtree_PrintWKB(uchar *wkb, uint n_dims)
}
}
}
#else
int main(int argc __attribute__((unused)),char *argv[] __attribute__((unused)))
{
exit(0);
}
#endif /*HAVE_SPATIAL*/