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:
committed by
Sergey Vojtovich
parent
cf3a74eb60
commit
41d89b7da1
@ -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;
|
||||
|
Reference in New Issue
Block a user