summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2014-12-03 14:07:43 +0400
committerSergei Golubchik <serg@mariadb.org>2014-12-04 16:09:34 +0100
commitc4cb15e87ba8cf4f1e7fd8e7cda5c88098ecd515 (patch)
tree042b437f82a3368aa8c9d5b3c894182f75ec93bf /sql/unireg.h
parentc4655cf862b24fe040280e38cb71d3b5d25f049b (diff)
downloadmariadb-git-c4cb15e87ba8cf4f1e7fd8e7cda5c88098ecd515.tar.gz
MDEV-60 Support for Spatial Reference systems for the GIS data.
The GEOMETRY field metadata is stored in the FRM file. SRID for a spatial column now can be stored, it was added to the CREATE TABLE syntax, so the AddGeometryData() stored procedure is now possible. Script adding the required Add/DropGeometryColumn sp-s added.
Diffstat (limited to 'sql/unireg.h')
-rw-r--r--sql/unireg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 2d51aa39fd4..25335d11e4a 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -185,6 +185,7 @@
enum extra2_frm_value_type {
EXTRA2_TABLEDEF_VERSION=0,
EXTRA2_DEFAULT_PART_ENGINE=1,
+ EXTRA2_GIS=2,
#define EXTRA2_ENGINE_IMPORTANT 128