summaryrefslogtreecommitdiff
path: root/mysql-test/suite/plugins/r/qc_info_priv.result
blob: f7b538f46e4eba8c984e6b820718cb90b2cd0cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
set global query_cache_type=ON;
set local query_cache_type=ON;
set global query_cache_size=1355776;
create table t1 (a int not null);
insert into t1 values (1),(2),(3);
select * from t1;
a
1
2
3
select statement_schema, statement_text, result_blocks_count, result_blocks_size from information_schema.query_cache_info;
statement_schema	statement_text	result_blocks_count	result_blocks_size
test	select * from t1	1	512
create user mysqltest;
select a from t1;
a
1
2
3
select count(*) from information_schema.query_cache_info;
count(*)
0
drop user mysqltest;
drop table t1;
set global query_cache_size= default;
set global query_cache_type=default;