mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-06 06:22:39 +00:00
fea5fae5b0
Failing with high rate in master after #45912 was merged
16 lines
477 B
SQL
16 lines
477 B
SQL
-- Tags: no-parallel
|
|
-- Tag no-parallel: Messes with internal cache
|
|
|
|
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;
|
|
|
|
-- No query results are cached after DROP
|
|
SYSTEM DROP QUERY CACHE;
|
|
SELECT count(*) FROM system.query_cache;
|