mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
1492de8563
- Set the default - Adjust the testcases so that 'new' tests are run with optimizations turned on. - Pull out relevant tests from "irrelevant" tests and run them with optimizations on. - Run range.test and innodb.test with both mrr=on and mrr=off
18 lines
491 B
Text
18 lines
491 B
Text
#
|
|
# Run join_outer.test with BKA enabled
|
|
#
|
|
|
|
set @save_optimizer_switch_jcl6=@@optimizer_switch;
|
|
set @@optimizer_switch='semijoin_with_cache=on';
|
|
set @@optimizer_switch='outer_join_with_cache=on';
|
|
set optimizer_switch='mrr=on,mrr_sort_keys=on,index_condition_pushdown=on';
|
|
|
|
set join_cache_level=6;
|
|
show variables like 'join_cache_level';
|
|
|
|
--source t/join_outer.test
|
|
|
|
set join_cache_level=default;
|
|
show variables like 'join_cache_level';
|
|
|
|
set @@optimizer_switch=@save_optimizer_switch_jcl6;
|