mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-249 QUERY CACHE INFORMATION
This commit is contained in:
12
mysql-test/suite/plugins/t/qc_info_init.inc
Normal file
12
mysql-test/suite/plugins/t/qc_info_init.inc
Normal file
@@ -0,0 +1,12 @@
|
||||
if (`select count(*) = 0 from information_schema.plugins where plugin_name = 'query_cache_info' and plugin_status='active'`)
|
||||
{
|
||||
--skip QUERY_CACHE_INFO plugin is not active
|
||||
}
|
||||
|
||||
set global query_cache_size=1355776;
|
||||
|
||||
create table t1 (a int not null);
|
||||
insert into t1 values (1),(2),(3);
|
||||
select * from t1;
|
||||
select statement_schema, statement_text, result_blocks_count, result_blocks_size from information_schema.query_cache_info;
|
||||
|
Reference in New Issue
Block a user