summaryrefslogtreecommitdiff
path: root/mysql-test/t/gis.test
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@hfmain.(none)>2007-11-24 15:02:29 +0400
committerunknown <holyfoot/hf@hfmain.(none)>2007-11-24 15:02:29 +0400
commitc58de28410ed42e684b115c5b18550cd66be52db (patch)
tree8bbb78671f7e17320d6d6b85779d8f4f7a949c94 /mysql-test/t/gis.test
parent10c1aa796a32829cdf30c084a575be3a7c1f5abf (diff)
parente4dc9a8e6e13405859afda2d472e4cc4b6dc169c (diff)
downloadmariadb-git-c58de28410ed42e684b115c5b18550cd66be52db.tar.gz
Merge bk@192.168.21.1:mysql-5.0-opt
into mysql.com:/home/hf/work/30284/my50-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 c115396ec03..cf2e4a21419 100644
--- a/mysql-test/t/gis.test
+++ b/mysql-test/t/gis.test
@@ -470,6 +470,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
#