mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-4516 SELECT from I_S.QUERY_CACHE_INFO produces ER_UNKNOWN_ERROR when query cache size is 0
if qc->try_lock() fails, it's not an error
This commit is contained in:
@ -4,5 +4,8 @@ drop table t1;
|
||||
# the query was invalidated
|
||||
select statement_schema, statement_text, result_blocks_count, result_blocks_size from information_schema.query_cache_info;
|
||||
|
||||
set global query_cache_size = 0;
|
||||
select * from information_schema.query_cache_info;
|
||||
|
||||
set global query_cache_size= default;
|
||||
|
||||
|
Reference in New Issue
Block a user