mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
WL#1163 To make spatial code optional
myisam spatial code isolated
This commit is contained in:
@ -17,6 +17,8 @@
|
||||
#ifndef _spatial_h
|
||||
#define _spatial_h
|
||||
|
||||
#ifdef HAVE_SPATIAL
|
||||
|
||||
const uint SRID_SIZE= 4;
|
||||
const uint SIZEOF_STORED_DOUBLE= 8;
|
||||
const uint POINT_DATA_SIZE= SIZEOF_STORED_DOUBLE*2;
|
||||
@ -460,4 +462,5 @@ struct Geometry_buffer
|
||||
void *arr[(geometry_buffer_size - 1)/sizeof(void *) + 1];
|
||||
};
|
||||
|
||||
#endif /*HAVE_SPATAIAL*/
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user