Fix 02494_query_cache_drop.sql

Failing with high rate in master after #45912 was merged
This commit is contained in:
Robert Schulze 2023-04-03 17:42:57 +00:00
parent a50e741bea
commit fea5fae5b0
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -3,6 +3,9 @@
SET allow_experimental_query_cache = true;
-- (it's silly to use what will be tested below but we have to assume other tests cluttered the query cache)
SYSTEM DROP QUERY CACHE;
-- Cache query result in query cache
SELECT 1 SETTINGS use_query_cache = true;
SELECT count(*) FROM system.query_cache;