File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2924,6 +2924,9 @@ c0 c0
29242924select t1.c0, t0.c0 from t1 left join t0 on 0 where not (t0.c0 is false);
29252925c0 c0
292629261 NULL
2927+ select t1.c0, t0.c0 from t1 left join t0 on false where (false or ((t0.c0 is true) in (false)));
2928+ c0 c0
2929+ 1 NULL
29272930drop table t0, t1;
29282931# end of 10.11 tests
29292932SET optimizer_switch=@org_optimizer_switch;
Original file line number Diff line number Diff line change @@ -2443,6 +2443,7 @@ insert into t1 values (1);
24432443insert into t0 values (1);
24442444select t1.c0, t0.c0 from t1 left join t0 on 0 where not (t0.c0 is true);
24452445select t1.c0, t0.c0 from t1 left join t0 on 0 where not (t0.c0 is false);
2446+ select t1.c0, t0.c0 from t1 left join t0 on false where (false or ((t0.c0 is true) in (false)));
24462447drop table t0, t1;
24472448
24482449--echo # end of 10.11 tests
Original file line number Diff line number Diff line change @@ -2931,6 +2931,9 @@ c0 c0
29312931select t1.c0, t0.c0 from t1 left join t0 on 0 where not (t0.c0 is false);
29322932c0 c0
293329331 NULL
2934+ select t1.c0, t0.c0 from t1 left join t0 on false where (false or ((t0.c0 is true) in (false)));
2935+ c0 c0
2936+ 1 NULL
29342937drop table t0, t1;
29352938# end of 10.11 tests
29362939SET optimizer_switch=@org_optimizer_switch;
You can’t perform that action at this time.
0 commit comments