summaryrefslogtreecommitdiff
path: root/mysql-test/t/gis.test
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-03-09 16:53:31 +0200
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-03-09 16:53:31 +0200
commit4eab28d8930daac3212e9e256f2218de17c23228 (patch)
treed5bd3a6f08a093e725085171cb6ea01d5be97f04 /mysql-test/t/gis.test
parentcb0e660da5d0ed6f70b242ca3a3e900293274e09 (diff)
parent01f218e896e7877758977d6a969bafb15514df14 (diff)
downloadmariadb-git-4eab28d8930daac3212e9e256f2218de17c23228.tar.gz
merge mysql-5.5->mysql-5.5-security
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r--mysql-test/t/gis.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test
index 520da7e62c9..fe6da647740 100644
--- a/mysql-test/t/gis.test
+++ b/mysql-test/t/gis.test
@@ -757,6 +757,17 @@ insert into t1 values (geomfromtext("point(1 0)"));
select * from (select polygon(t1.a) as p from t1 order by t1.a) d;
drop table t1;
+
+--echo #
+--echo # Test for bug #59888 "debug assertion when attempt to create spatial index
+--echo # on char > 31 bytes".
+--echo #
+create table t1(a char(32) not null) engine=myisam;
+--error ER_SPATIAL_MUST_HAVE_GEOM_COL
+create spatial index i on t1 (a);
+drop table t1;
+
+
--echo End of 5.1 tests
#