diff options
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r-- | sql/item_geofunc.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc index 5ac87a25e67..6934ad9d3b0 100644 --- a/sql/item_geofunc.cc +++ b/sql/item_geofunc.cc @@ -22,6 +22,8 @@ #endif #include "mysql_priv.h" + +#ifdef HAVE_SPATIAL #include "sql_acl.h" #include <m_ctype.h> @@ -651,3 +653,5 @@ longlong Item_func_srid::val_int() uint32 res= uint4korr(swkb->ptr()); return (longlong) res; } + +#endif /*HAVE_SPATIAL*/ |