summaryrefslogtreecommitdiff
path: root/mysql-test/t/gis.test
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@hfmain.(none)>2007-11-24 15:02:23 +0400
committerunknown <holyfoot/hf@hfmain.(none)>2007-11-24 15:02:23 +0400
commit11bd8594c2976a9e8ef8100a8f5153b68a0c1eb6 (patch)
treeff73de826d41ff528c7e5ddcc2593445a1ba5c1c /mysql-test/t/gis.test
parent5668c1b39b48375894ac9d3226875f171b1efd31 (diff)
parentff5120f0fe52264ca276767554439cb3ba48d46a (diff)
downloadmariadb-git-11bd8594c2976a9e8ef8100a8f5153b68a0c1eb6.tar.gz
Merge bk@192.168.21.1:mysql-5.1-opt
into mysql.com:/home/hf/work/30284/my51-30284 mysql-test/r/gis.result: merging mysql-test/t/gis.test: merging
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 66235722801..e6b8b91783c 100644
--- a/mysql-test/t/gis.test
+++ b/mysql-test/t/gis.test
@@ -471,6 +471,17 @@ drop table t1;
drop table t2;
drop table t3;
+#
+# Bug #30284 spatial key corruption
+#
+
+create table t1(col1 geometry default 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
#