summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-01-23 19:54:22 +0400
committerunknown <hf@deer.(none)>2004-01-23 19:54:22 +0400
commit21fbefdfc641948b5565ffe91ae2d213cd47cfe9 (patch)
treeae476e9ed8ee458bfd1e655174e77db462da7ae2 /sql/item_geofunc.cc
parent1c8de8505ed36e88214ac2d0ad6acda5de6087f7 (diff)
downloadmariadb-git-21fbefdfc641948b5565ffe91ae2d213cd47cfe9.tar.gz
SCRUM
WL#1163 (Make spatial code separable) fixes before the push include/my_global.h: Temporary place for these defines include/mysqld_error.h: ER_FEATURE_DISABLED definition sql/item_geofunc.cc: #ifdef HAVE_SPATIAL moved to the better place sql/share/english/errmsg.txt: Message for ER_FEATURE_DISABLED
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r--sql/item_geofunc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc
index 671c4ed6de4..6934ad9d3b0 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -17,13 +17,13 @@
/* This file defines all spatial functions */
-#ifdef HAVE_SPATIAL
-
#ifdef __GNUC__
#pragma implementation // gcc: Class implementation
#endif
#include "mysql_priv.h"
+
+#ifdef HAVE_SPATIAL
#include "sql_acl.h"
#include <m_ctype.h>