add test for #2663

This commit is contained in:
chenxing.xc 2018-07-18 12:56:51 +08:00 committed by alexey-milovidov
parent f6000b304c
commit 9bf6f8a62c
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,2 @@
1
0

View File

@ -0,0 +1,8 @@
drop table if exists orin_test;
create table orin_test (c1 Int32) engine=Memory;
insert into orin_test values(1), (100);
select minus(c1 = 1 or c1=2 or c1 =3, c1=5) from orin_test;
drop table orin_test;