1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merged fix for bug #59888 "debug assertion when attempt to

create spatial index on char > 31 bytes". Did after-merge
fixes.
This commit is contained in:
Dmitry Lenev
2011-02-15 15:04:52 +03:00
3 changed files with 28 additions and 7 deletions

View File

@ -1034,6 +1034,14 @@ p
NULL
NULL
drop table t1;
#
# Test for bug #59888 "debug assertion when attempt to create spatial index
# on char > 31 bytes".
#
create table t1(a char(32) not null) engine=myisam;
create spatial index i on t1 (a);
ERROR 42000: A SPATIAL index may only contain a geometrical type column
drop table t1;
End of 5.1 tests
CREATE TABLE t1(
col0 BINARY NOT NULL,