mark some file to been opensource for ce-farm

This commit is contained in:
niyuhang
2023-11-15 11:44:43 +00:00
committed by ob-robot
parent 4900683cff
commit c8ace58297
685 changed files with 1080566 additions and 111051 deletions

View File

@ -0,0 +1,10 @@
drop table if exists t1;
create table t1 (c0 int primary key,c1 int, c2 int, c3 int);
replace into t1 values (1,null, 1, null);
insert into t1 values (2,null, null, null);
select * from t1;
c0 c1 c2 c3
1 NULL 1 NULL
2 NULL NULL NULL
select * from t1 where (c1, c2) = (null, null) or (c1, c2) = (null, 1);
c0 c1 c2 c3

View File

@ -0,0 +1,14 @@
--disable_query_log
set @@session.explicit_defaults_for_timestamp=off;
--enable_query_log
# owner: xiaoyi.xy
# owner group: SQL3
# description: replace NULL
--disable_warnings
drop table if exists t1;
--enable_warnings
create table t1 (c0 int primary key,c1 int, c2 int, c3 int);
replace into t1 values (1,null, 1, null);
insert into t1 values (2,null, null, null);
select * from t1;
select * from t1 where (c1, c2) = (null, null) or (c1, c2) = (null, 1);