mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Made join_cache_level == 2 by default.
This commit is contained in:
@@ -5,6 +5,15 @@ DROP TABLE IF EXISTS t0,t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
|
||||
SET @save_optimizer_switch=@@optimizer_switch;
|
||||
SET optimizer_switch=ifnull(@optimizer_switch_for_join_nested_test,'outer_join_with_cache=off');
|
||||
if (`select @join_cache_level_for_join_nested_test is null`)
|
||||
{
|
||||
set join_cache_level=1;
|
||||
}
|
||||
if (`select @join_cache_level_for_join_nested_test is not null`)
|
||||
{
|
||||
set join_cache_level=@join_cache_level_for_join_nested_test;
|
||||
}
|
||||
|
||||
|
||||
CREATE TABLE t0 (a int, b int, c int);
|
||||
CREATE TABLE t1 (a int, b int, c int);
|
||||
|
||||
Reference in New Issue
Block a user