summaryrefslogtreecommitdiff
path: root/mysql-test/r/cache_innodb.result
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2015-08-11 18:45:38 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2015-08-11 18:45:38 +0200
commit76d6ac448d18a9e97ce4be585d79607780e00a49 (patch)
tree4a469019460057da12977d7ee6817f3873ac607d /mysql-test/r/cache_innodb.result
parentba230c21adcfc6e6a6174ff25d8a8aebd1a70f0a (diff)
downloadmariadb-git-bb-10.1-MDEV-6066.tar.gz
MDEV-6066: Merge new defaults from 5.6 and 5.7 (defaults changed, QC can be stopped with no-zero size)bb-10.1-MDEV-6066
Diffstat (limited to 'mysql-test/r/cache_innodb.result')
-rw-r--r--mysql-test/r/cache_innodb.result3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/cache_innodb.result b/mysql-test/r/cache_innodb.result
index 85eef0b3418..971750e3da2 100644
--- a/mysql-test/r/cache_innodb.result
+++ b/mysql-test/r/cache_innodb.result
@@ -1,3 +1,5 @@
+SET global query_cache_type=ON;
+SET local query_cache_type=ON;
SET SESSION STORAGE_ENGINE = InnoDB;
drop table if exists t1,t2,t3;
set @save_query_cache_size = @@global.query_cache_size;
@@ -221,6 +223,7 @@ Variable_name Value
Qcache_hits 1
set @@global.query_cache_size = @save_query_cache_size;
drop table t2;
+SET global query_cache_type=default;
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
BEGIN;
INSERT INTO t1 VALUES(1);