summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
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/sp_head.cc
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/sp_head.cc')
-rw-r--r--sql/sp_head.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index 9f42e83d7f2..100cc3b0450 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -877,7 +877,7 @@ sp_head::create_result_field(uint field_max_length, const char *field_name,
m_return_field_def.pack_flag,
m_return_field_def.sql_type,
m_return_field_def.charset,
- m_return_field_def.geom_type,
+ m_return_field_def.geom_type, m_return_field_def.srid,
Field::NONE, /* unreg check */
m_return_field_def.interval,
field_name ? field_name : (const char *) m_name.str);