summaryrefslogtreecommitdiff
path: root/mysql-test/t/join_cache.test
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2011-12-15 14:26:59 -0800
committerIgor Babaev <igor@askmonty.org>2011-12-15 14:26:59 -0800
commita910e8ef5b5d33cd600acaba9ec3cc8c49881196 (patch)
treeceab0338af1b7b100b069fec4e6be7cf31b48a44 /mysql-test/t/join_cache.test
parentf5dac20f38fcf581b0616562cd2da21fb8c50218 (diff)
downloadmariadb-git-a910e8ef5b5d33cd600acaba9ec3cc8c49881196.tar.gz
Made join_cache_level == 2 by default.
Diffstat (limited to 'mysql-test/t/join_cache.test')
-rw-r--r--mysql-test/t/join_cache.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/mysql-test/t/join_cache.test b/mysql-test/t/join_cache.test
index 5a48f7653e4..0feb4e30af0 100644
--- a/mysql-test/t/join_cache.test
+++ b/mysql-test/t/join_cache.test
@@ -33,6 +33,8 @@ SELECT COUNT(*) FROM CountryLanguage;
show variables like 'join_buffer_size';
+set join_cache_level=1;
+
show variables like 'join_cache_level';
EXPLAIN
@@ -196,7 +198,7 @@ SELECT Country.Name, Country.Population, City.Name, City.Population
DROP INDEX City_Population ON City;
DROP INDEX City_Name ON City;
-set join_cache_level=default;
+set join_cache_level=1;
set join_buffer_size=256;
show variables like 'join_buffer_size';
@@ -2191,6 +2193,8 @@ insert into t2 values (1,1),(2,2);
create table t3 (a int, b int);
insert into t3 values (1,1),(2,2);
+set join_cache_level=1;
+
explain select t1.* from t1,t2,t3;
select t1.* from t1,t2,t3;