diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2013-07-26 16:03:56 +0500 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2013-07-26 16:03:56 +0500 |
commit | 62feb0c5aea9deed8da70774e0674fb459a84e34 (patch) | |
tree | 44e39d464e52f57d0c73abff49a77d5df21bffda /mysql-test/t/gis.test | |
parent | b385fdc6cca542c5b5a0671bc141a8b9b29e72a4 (diff) | |
download | mariadb-git-62feb0c5aea9deed8da70774e0674fb459a84e34.tar.gz |
main.gis test fixed.
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r-- | mysql-test/t/gis.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test index cff93fc13ee..c1153d5071d 100644 --- a/mysql-test/t/gis.test +++ b/mysql-test/t/gis.test @@ -609,9 +609,9 @@ DROP TABLE t1; # # Bug#28763: Selecting geometry fields in UNION caused server crash. # -create table t1(f1 geometry, f2 point, f3 linestring); +create table t1(f1 geometry, f2 linestring, f3 linestring); select f1 from t1 union select f1 from t1; -insert into t1 (f2,f3) values (GeomFromText('POINT(1 1)'), +insert into t1 (f2,f3) values (GeomFromText('LINESTRING(1 1, 2 2)'), GeomFromText('LINESTRING(0 0,1 1,2 2)')); select AsText(f2),AsText(f3) from t1; select AsText(a) from (select f2 as a from t1 union select f3 from t1) t; |