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;