update tests

This commit is contained in:
Alexander Kuzmenkov 2021-01-21 18:30:51 +03:00
parent ec8ff21526
commit 36a42a1f96
2 changed files with 4 additions and 0 deletions

View File

View File

@ -23,5 +23,9 @@ select nonexistent column; -- { serverError 47 }
insert into values_01564 values (1); select 1; insert into values_01564 values (1); select 1;
select 1; select 1;
1 1
-- a failing insert and then a normal insert (#https://github.com/ClickHouse/ClickHouse/issues/19353)
CREATE TABLE t0 (c0 String, c1 Int32) ENGINE = Memory() ;
INSERT INTO t0(c0, c1) VALUES ("1",1) ; -- { clientError 47 }
INSERT INTO t0(c0, c1) VALUES ('1', 1) ;
-- the return code must be zero after the final query has failed with expected error -- the return code must be zero after the final query has failed with expected error
insert into values_01564 values (11); -- { serverError 469 } insert into values_01564 values (11); -- { serverError 469 }