diff options
author | Dmitry Lenev <Dmitry.Lenev@oracle.com> | 2011-02-15 15:04:52 +0300 |
---|---|---|
committer | Dmitry Lenev <Dmitry.Lenev@oracle.com> | 2011-02-15 15:04:52 +0300 |
commit | 1cff3f95e6e5d1244a4185cacf23dacd553ab583 (patch) | |
tree | 2fa1ef5eb397b184bf41bf7fa3bb8f8625ea61e2 /mysql-test/t/gis.test | |
parent | a7662cf0a90ee4826b52209aa880f7e710ca95f9 (diff) | |
parent | 9c89cca5e364310928bde10287a56128378c107c (diff) | |
download | mariadb-git-1cff3f95e6e5d1244a4185cacf23dacd553ab583.tar.gz |
Merged fix for bug #59888 "debug assertion when attempt to
create spatial index on char > 31 bytes". Did after-merge
fixes.
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r-- | mysql-test/t/gis.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test index 7ca364d935c..e68e70c685a 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 # |