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:
@ -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*/
|
||||
|
Reference in New Issue
Block a user