Merge pull request #49573 from ClickHouse/rs/qc-no-internal-queries

Query cache: disable for internal queries
This commit is contained in:
Robert Schulze 2023-05-06 15:27:44 +02:00 committed by GitHub
commit 39bd320e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)