1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-27 01:57:48 +03:00
test for IGNORE added
This commit is contained in:
hf@deer.(none) 2004-03-17 14:03:26 +04:00
parent cdc27d597e
commit 91d5e55a90
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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;