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/sp_key.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/sp_key.c')
-rw-r--r-- | myisam/sp_key.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/myisam/sp_key.c b/myisam/sp_key.c index f669d217026..0e424a9e193 100644 --- a/myisam/sp_key.c +++ b/myisam/sp_key.c @@ -15,6 +15,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "myisamdef.h" + +#ifdef HAVE_SPATIAL + #include "sp_defs.h" static int sp_add_point_to_mbr(uchar *(*wkb), uchar *end, uint n_dims, @@ -284,3 +287,5 @@ static int sp_get_geometry_mbr(uchar *(*wkb), uchar *end, uint n_dims, } return res; } + +#endif /*HAVE_SPATIAL*/ |