summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@montyprogram.com>2014-09-02 11:31:26 +0500
committerAlexey Botchkov <holyfoot@montyprogram.com>2014-10-21 12:25:47 +0500
commitc3db4459561bc491582bef6bea7b83e9fe464a10 (patch)
treea3308648bcde663b43f703a1a52051e95ce13ebe /sql/handler.h
parentc1f5f61c9b651cac80f22319beed13733963c632 (diff)
downloadmariadb-git-c3db4459561bc491582bef6bea7b83e9fe464a10.tar.gz
MDEV-12 OpenGIS: create required tables: GeometryColumns, related views.
GEOMETRY_COLUMNS and SPATIAL_REF_SYS tables added to the INFORMATION_SCHEMA.
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index c91b26f768f..00445565f06 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -750,7 +750,11 @@ enum enum_schema_tables
SCH_TABLE_PRIVILEGES,
SCH_TRIGGERS,
SCH_USER_PRIVILEGES,
- SCH_VIEWS
+ SCH_VIEWS,
+#ifdef HAVE_SPATIAL
+ SCH_GEOMETRY_COLUMNS,
+ SCH_SPATIAL_REF_SYS,
+#endif /*HAVE_SPATIAL*/
};
struct TABLE_SHARE;