Fix 02494_drop_query_result_cache (add "no-parallel" tag)

This commit is contained in:
Robert Schulze 2022-12-19 09:23:57 +00:00
parent b93c56323c
commit 3985fcf59b
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
3 changed files with 5 additions and 15 deletions

View File

@ -1,11 +0,0 @@
-- { echoOn }
-- run query and cache query result
SELECT 1 SETTINGS enable_experimental_query_result_cache = true;
SELECT count(*) FROM system.queryresult_cache;
-- query results are no longer in cache after drop
SYSTEM DROP QUERY RESULT CACHE;
SELECT count(*) FROM system.queryresult_cache;
-- { echoOff }

View File

@ -0,0 +1,3 @@
1
1
0

View File

@ -1,11 +1,9 @@
-- { echoOn }
-- Tags: no-parallel
-- run query and cache query result
SELECT 1 SETTINGS enable_experimental_query_result_cache = true;
1
SELECT count(*) FROM system.queryresult_cache;
1
-- query results are no longer in cache after drop
SYSTEM DROP QUERY RESULT CACHE;
SELECT count(*) FROM system.queryresult_cache;
0