summaryrefslogtreecommitdiff
path: root/mysql-test/t/gis.test
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2013-07-26 16:03:56 +0500
committerAlexey Botchkov <holyfoot@askmonty.org>2013-07-26 16:03:56 +0500
commit62feb0c5aea9deed8da70774e0674fb459a84e34 (patch)
tree44e39d464e52f57d0c73abff49a77d5df21bffda /mysql-test/t/gis.test
parentb385fdc6cca542c5b5a0671bc141a8b9b29e72a4 (diff)
downloadmariadb-git-62feb0c5aea9deed8da70774e0674fb459a84e34.tar.gz
main.gis test fixed.
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r--mysql-test/t/gis.test4
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;