summaryrefslogtreecommitdiff
path: root/mysql-test/t/gis.test
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@hfmain.(none)>2007-11-24 14:47:32 +0400
committerunknown <holyfoot/hf@hfmain.(none)>2007-11-24 14:47:32 +0400
commitd04f74b775767374247a4053135ebe5aa7b58fdd (patch)
tree4af300ac3ed26e54133d7355283656d216ffe38f /mysql-test/t/gis.test
parent4b48eb6f1e4565ba31982f73908664108ba0fb7b (diff)
parentda1efa3387e62df85d48f05e81ac9b324c455e83 (diff)
downloadmariadb-git-d04f74b775767374247a4053135ebe5aa7b58fdd.tar.gz
Merge mysql.com:/home/hf/work/30284/my41-30284
into mysql.com:/home/hf/work/30284/my50-30284 myisam/mi_check.c: Auto merged mysql-test/t/gis.test: Auto merged mysql-test/r/gis.result: SCCS merged
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 b7da7db1d76..6d7ec046c4c 100644
--- a/mysql-test/t/gis.test
+++ b/mysql-test/t/gis.test
@@ -439,6 +439,17 @@ INSERT INTO `t1` VALUES ('','0000-00-00');
select geomfromtext(col9,col89) as a from t1;
DROP TABLE t1;
+#
+# Bug #30284 spatial key corruption
+#
+
+create table t1(col1 geometry not null,col15 geometrycollection not
+null,spatial index(col15),index(col1(15)))engine=myisam;
+insert into t1 set col15 = GeomFromText('POINT(6 5)');
+insert into t1 set col15 = GeomFromText('POINT(6 5)');
+check table t1 extended;
+drop table t1;
+
--echo End of 4.1 tests
#