summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorhf@deer.(none) <>2004-01-15 21:06:22 +0400
committerhf@deer.(none) <>2004-01-15 21:06:22 +0400
commit6dcda5153b4bada5a5e890641b0d69fb28bf8db5 (patch)
tree24c233c602a5644cbcc259252d10163dc0551fc5 /sql/item_geofunc.cc
parentecf8118cff8e25fb2286ea75a9c24f513423a2da (diff)
downloadmariadb-git-6dcda5153b4bada5a5e890641b0d69fb28bf8db5.tar.gz
SCRUM:
WL#1163 (Making spatial code optional) Pack of changes to do in sql/ code.
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r--sql/item_geofunc.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc
index 5ac87a25e67..671c4ed6de4 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -17,6 +17,8 @@
/* This file defines all spatial functions */
+#ifdef HAVE_SPATIAL
+
#ifdef __GNUC__
#pragma implementation // gcc: Class implementation
#endif
@@ -651,3 +653,5 @@ longlong Item_func_srid::val_int()
uint32 res= uint4korr(swkb->ptr());
return (longlong) res;
}
+
+#endif /*HAVE_SPATIAL*/