1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Added HITS column to QUERY_CACHE_INFO table

Updated qc_info tests, added new test that checks HITS is incremented.
This commit is contained in:
Peter Shchuchkin
2017-08-25 12:56:42 +03:00
committed by Sergey Vojtovich
parent cf3a74eb60
commit 41d89b7da1
4 changed files with 30 additions and 7 deletions

View File

@ -1,5 +1,11 @@
--source qc_info_init.inc
# test that hits are correctly incremented
reset query cache;
select * from t1;
select * from t1;
select hits, statement_text from information_schema.query_cache_info;
drop table t1;
# the query was invalidated
select statement_schema, statement_text, result_blocks_count, result_blocks_size from information_schema.query_cache_info;