mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
5.3 merge
This commit is contained in:
@@ -1314,9 +1314,13 @@ DROP TABLE t1, t2;
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
create table t1(f1 tinyint default null)engine=myisam;
|
||||
insert into t1 values (-1),(null);
|
||||
insert into t1 values (-1),(null);
|
||||
|
||||
set @tmp_optimizer_switch=@@optimizer_switch;
|
||||
set optimizer_switch='derived_merge=off,derived_with_keys=off';
|
||||
explain select 1 as a from t1,(select decode(f1,f1) as b from t1) a;
|
||||
explain select 1 as a from t1,(select encode(f1,f1) as b from t1) a;
|
||||
set optimizer_switch=@tmp_optimizer_switch;
|
||||
drop table t1;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user