summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/gis.result2
-rw-r--r--mysql-test/t/gis.test2
2 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result
index 3a7b2b98751..be33c05c578 100644
--- a/mysql-test/r/gis.result
+++ b/mysql-test/r/gis.result
@@ -462,5 +462,7 @@ create table t1 (a geometry not null);
insert into t1 values (GeomFromText('Point(1 2)'));
insert into t1 values ('Garbage');
ERROR HY000: Unknown error
+insert IGNORE into t1 values ('Garbage');
+ERROR HY000: Unknown error
alter table t1 add spatial index(a);
drop table t1;
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test
index 541cff731b8..ea460d5f7b0 100644
--- a/mysql-test/t/gis.test
+++ b/mysql-test/t/gis.test
@@ -165,6 +165,8 @@ create table t1 (a geometry not null);
insert into t1 values (GeomFromText('Point(1 2)'));
-- error 1105
insert into t1 values ('Garbage');
+-- error 1105
+insert IGNORE into t1 values ('Garbage');
alter table t1 add spatial index(a);
drop table t1;