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
commit87b3ca5fe0f66b0d7546b6175d8b1d50d6d3a838 (patch)
treeae476e9ed8ee458bfd1e655174e77db462da7ae2 /sql/item_geofunc.cc
parent214c178f1763c14934a337c2ebce89f10aa18741 (diff)
downloadmariadb-git-87b3ca5fe0f66b0d7546b6175d8b1d50d6d3a838.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>