mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Made the optimizer switch flags 'outer_join_with_cache', 'semijoin_with_cache'
set to 'on' by default.
This commit is contained in:
parent
efb57a8ebf
commit
f5dac20f38
94 changed files with 390 additions and 23 deletions
|
|
@ -1,5 +1,7 @@
|
|||
drop table if exists t0, t1, t2, t3, t4, t5, t6;
|
||||
drop view if exists v1, v2;
|
||||
SET @save_optimizer_switch=@@optimizer_switch;
|
||||
SET optimizer_switch='outer_join_with_cache=off';
|
||||
create table t1 (a int);
|
||||
insert into t1 values (0),(1),(2),(3);
|
||||
create table t0 as select * from t1;
|
||||
|
|
@ -586,3 +588,4 @@ id select_type table type possible_keys key key_len ref rows Extra
|
|||
1 SIMPLE t2 eq_ref PRIMARY PRIMARY 4 test.t1.a 1 Using where; Using index
|
||||
drop view v1;
|
||||
DROP TABLE t1,t2,t3;
|
||||
SET optimizer_switch=@save_optimizer_switch;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue