summaryrefslogtreecommitdiff
path: root/sql/spatial.cc
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-05-27 16:32:49 +0500
committerunknown <hf@deer.(none)>2004-05-27 16:32:49 +0500
commit7f49646cf3be49c0f9a9a9f8599e9bea2223e08a (patch)
tree019f859000d45cddee40cd07a8a14076fcfa4c6f /sql/spatial.cc
parentaa6ff1cf682437d3e083bc25617fdc57d3a149d3 (diff)
parent805897cdb81f36b775eb4917f606afdef36c63a8 (diff)
downloadmariadb-git-7f49646cf3be49c0f9a9a9f8599e9bea2223e08a.tar.gz
Merging
myisam/mi_create.c: Auto merged myisam/mi_open.c: Auto merged myisam/rt_test.c: Auto merged myisam/sp_test.c: Auto merged sql/spatial.cc: Auto merged sql/spatial.h: Auto merged sql/sql_yacc.yy: Auto merged myisam/mi_range.c: merging myisam/mi_rnext.c: 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*/