@@ -1400,12 +1400,12 @@ Table Op Msg_type Msg_text
...
@@ -1400,12 +1400,12 @@ Table Op Msg_type Msg_text
test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
test.t2 analyze status OK
explain extended
explain extended
select * from t2 A straight_join t2 B where A.a is null;
select * from t2 a straight_join t2 b where a.a is null;
id select_type table type possible_keys key key_len ref rows filtered Extra
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE A ALL NULL NULL NULL NULL 1000 100.00 Using where
1 SIMPLE a ALL NULL NULL NULL NULL 1000 100.00 Using where
1 SIMPLE B ALL NULL NULL NULL NULL 1000 100.00 Using join buffer (flat, BNL join)
1 SIMPLE b ALL NULL NULL NULL NULL 1000 100.00 Using join buffer (flat, BNL join)
Warnings:
Warnings:
Note 1003 select `test`.`A`.`a` AS `a`,`test`.`A`.`b` AS `b`,`test`.`B`.`a` AS `a`,`test`.`B`.`b` AS `b` from `test`.`t2` `A` straight_join `test`.`t2` `B` where isnull(`test`.`A`.`a`)
Note 1003 select `test`.`a`.`a` AS `a`,`test`.`a`.`b` AS `b`,`test`.`b`.`a` AS `a`,`test`.`b`.`b` AS `b` from `test`.`t2` `a` straight_join `test`.`t2` `b` where isnull(`test`.`a`.`a`)
set histogram_size=@save_histogram_size;
set histogram_size=@save_histogram_size;
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
@@ -1410,12 +1410,12 @@ Table Op Msg_type Msg_text
...
@@ -1410,12 +1410,12 @@ Table Op Msg_type Msg_text
test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status Engine-independent statistics collected
test.t2 analyze status OK
test.t2 analyze status OK
explain extended
explain extended
select * from t2 A straight_join t2 B where A.a is null;
select * from t2 a straight_join t2 b where a.a is null;
id select_type table type possible_keys key key_len ref rows filtered Extra
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE A ALL NULL NULL NULL NULL 1000 100.00 Using where
1 SIMPLE a ALL NULL NULL NULL NULL 1000 100.00 Using where
1 SIMPLE B ALL NULL NULL NULL NULL 1000 100.00 Using join buffer (flat, BNL join)
1 SIMPLE b ALL NULL NULL NULL NULL 1000 100.00 Using join buffer (flat, BNL join)
Warnings:
Warnings:
Note 1003 select `test`.`A`.`a` AS `a`,`test`.`A`.`b` AS `b`,`test`.`B`.`a` AS `a`,`test`.`B`.`b` AS `b` from `test`.`t2` `A` straight_join `test`.`t2` `B` where isnull(`test`.`A`.`a`)
Note 1003 select `test`.`a`.`a` AS `a`,`test`.`a`.`b` AS `b`,`test`.`b`.`a` AS `a`,`test`.`b`.`b` AS `b` from `test`.`t2` `a` straight_join `test`.`t2` `b` where isnull(`test`.`a`.`a`)
set histogram_size=@save_histogram_size;
set histogram_size=@save_histogram_size;
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;