From c3db4459561bc491582bef6bea7b83e9fe464a10 Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Tue, 2 Sep 2014 11:31:26 +0500 Subject: MDEV-12 OpenGIS: create required tables: GeometryColumns, related views. GEOMETRY_COLUMNS and SPATIAL_REF_SYS tables added to the INFORMATION_SCHEMA. --- mysql-test/t/gis.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mysql-test/t/gis.test') diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test index d20e4c1711e..5dc5b48f32c 100644 --- a/mysql-test/t/gis.test +++ b/mysql-test/t/gis.test @@ -1473,3 +1473,12 @@ insert into t1 values(Geomfromtext('POLYGON((1 1, 2 2, 2 1, 1 1))')); drop table t1; --echo End of 5.5 tests + +SHOW CREATE TABLE information_schema.geometry_columns; +SHOW CREATE TABLE information_schema.spatial_ref_sys; + +create table t1(g GEOMETRY, pt POINT); +create table t2(g LINESTRING, pl POLYGON); +select * from information_schema.geometry_columns; +drop table t1, t2; + -- cgit v1.2.1