mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Merge pull request #49573 from ClickHouse/rs/qc-no-internal-queries
Query cache: disable for internal queries
This commit is contained in:
commit
39bd320e37
@ -644,7 +644,7 @@ static std::tuple<ASTPtr, BlockIO> executeQueryImpl(
|
||||
}
|
||||
|
||||
bool can_use_query_cache =
|
||||
settings.allow_experimental_query_cache && settings.use_query_cache
|
||||
settings.allow_experimental_query_cache && settings.use_query_cache && !internal
|
||||
&& !ast->as<ASTExplainQuery>();
|
||||
|
||||
if (!async_insert)
|
||||
|
Loading…
Reference in New Issue
Block a user