1
0
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:
Igor Babaev
2011-12-15 14:26:59 -08:00
parent f5dac20f38
commit a910e8ef5b
54 changed files with 205 additions and 13 deletions

View File

@@ -10,7 +10,14 @@ drop table if exists t0,t1,t2,t3,t4,t5;
SET @save_optimizer_switch=@@optimizer_switch;
SET optimizer_switch=ifnull(@optimizer_switch_for_join_outer_test,'outer_join_with_cache=off');
if (`select @join_cache_level_for_join_outer_test is null`)
{
set join_cache_level=1;
}
if (`select @join_cache_level_for_join_outer_test is not null`)
{
set join_cache_level=@join_cache_level_for_join_outer_test;
}
CREATE TABLE t1 (
grp int(11) default NULL,