mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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.
This commit is contained in:
committed by
Sergei Golubchik
parent
c4655cf862
commit
c4cb15e87b
@@ -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);
|
||||
|
Reference in New Issue
Block a user