summaryrefslogtreecommitdiff
path: root/sql/spatial.cc
diff options
context:
space:
mode:
authorhf@deer.(none) <>2004-05-27 16:32:49 +0500
committerhf@deer.(none) <>2004-05-27 16:32:49 +0500
commit374a28d29348ab06b5e2a138ed0f4534dc078c69 (patch)
tree019f859000d45cddee40cd07a8a14076fcfa4c6f /sql/spatial.cc
parentf0d79c5aba4d46bd583287ae8ff70b973264e61b (diff)
parent164a9e35008b9d6e7a6833806e6f9c145cde86dd (diff)
downloadmariadb-git-374a28d29348ab06b5e2a138ed0f4534dc078c69.tar.gz
Merging
Diffstat (limited to 'sql/spatial.cc')
-rw-r--r--sql/spatial.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/spatial.cc b/sql/spatial.cc
index ab415d9af10..9769f6e7ca9 100644
--- a/sql/spatial.cc
+++ b/sql/spatial.cc
@@ -15,6 +15,9 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "mysql_priv.h"
+
+#ifdef HAVE_SPATIAL
+
#define MAX_DIGITS_IN_DOUBLE 16
/***************************** Gis_class_info *******************************/
@@ -1652,3 +1655,4 @@ const Geometry::Class_info *Gis_geometry_collection::get_class_info() const
return &geometrycollection_class;
}
+#endif /*HAVE_SPATIAL*/