From 80a02037df1e65168a150b4dcd21822bfc14b71a Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Tue, 1 Jul 2014 00:30:24 +0500 Subject: MDEV-6073 Merge gis test cases form 5.6. Tests were merged. As the implementation is different, the 'internal debugging' part was not merged, only a stub for it created. --- mysql-test/t/gis.test | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mysql-test/t/gis.test') diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test index c38706959e4..d20e4c1711e 100644 --- a/mysql-test/t/gis.test +++ b/mysql-test/t/gis.test @@ -540,6 +540,18 @@ create table t1 (g geometry not null); insert into t1 values(default); drop table t1; +# +# Bug #27300: create view with geometry functions lost columns types +# +CREATE TABLE t1 (a GEOMETRY); +CREATE VIEW v1 AS SELECT GeomFromwkb(ASBINARY(a)) FROM t1; +CREATE VIEW v2 AS SELECT a FROM t1; +DESCRIBE v1; +DESCRIBE v2; + +DROP VIEW v1,v2; +DROP TABLE t1; + # # Bug#24563: MBROverlaps does not seem to function propertly # Bug#54888: MBROverlaps missing in 5.1? -- cgit v1.2.1