summaryrefslogtreecommitdiff
path: root/mysql-test/r/gis.result
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-03-09 16:50:06 +0200
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-03-09 16:50:06 +0200
commit2f682d3f7208fe7f8c7b58b36757a49e66758c07 (patch)
tree081b2b9ca13ef8fae1d90801b61edf7e0f94dc4a /mysql-test/r/gis.result
parent54755c78cfd78ca081f20af2edbace8cd03891b0 (diff)
parentdc1c65b6180b19c09e49e8137286ae04120c5559 (diff)
downloadmariadb-git-2f682d3f7208fe7f8c7b58b36757a49e66758c07.tar.gz
merge 5.1->5.1-security
Diffstat (limited to 'mysql-test/r/gis.result')
-rw-r--r--mysql-test/r/gis.result8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result
index 151d0cfffa1..d700865d5f3 100644
--- a/mysql-test/r/gis.result
+++ b/mysql-test/r/gis.result
@@ -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 HY000: Can't create table '#sql-temporary' (errno: 140)
+drop table t1;
CREATE TABLE t0 (a BINARY(32) NOT NULL);
CREATE SPATIAL INDEX i on t0 (a);
ERROR HY000: Incorrect arguments to SPATIAL INDEX