summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2014-12-03 14:07:43 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2014-12-03 16:45:02 +0400
commitae8237995790f5e3d4769f08db5324791e39c197 (patch)
tree323ba0713ab244b6551b40eac81b7046e22a5c63 /sql/sql_select.cc
parentcfb7ee1cba9416a817708d4e93458668729a2668 (diff)
downloadmariadb-git-mdev-60-merge.tar.gz
MDEV-60 Support for Spatial Reference systems for the GIS data.mdev-60-merge
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/sql_select.cc')
-rw-r--r--sql/sql_select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 64d2e912815..36d9004271d 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -16567,7 +16567,7 @@ TABLE *create_virtual_tmp_table(THD *thd, List<Create_field> &field_list)
(uchar*) (f_maybe_null(cdef->pack_flag) ? "" : 0),
f_maybe_null(cdef->pack_flag) ? 1 : 0,
cdef->pack_flag, cdef->sql_type, cdef->charset,
- cdef->geom_type, cdef->unireg_check,
+ cdef->geom_type, cdef->srid, cdef->unireg_check,
cdef->interval, cdef->field_name);
if (!*field)
goto error;