Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Interpreters/executeQuery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,7 @@ static BlockIO executeQueryImpl(
QueryResultCachePtr query_result_cache = context->getQueryResultCache();
const bool can_use_query_result_cache = query_result_cache != nullptr && settings[Setting::use_query_cache] && !internal
&& client_info.query_kind == ClientInfo::QueryKind::INITIAL_QUERY
&& (out_ast->as<ASTSelectQuery>() || out_ast->as<ASTSelectWithUnionQuery>());
&& out_ast && (out_ast->as<ASTSelectQuery>() || out_ast->as<ASTSelectWithUnionQuery>());
QueryResultCacheUsage query_result_cache_usage = QueryResultCacheUsage::None;

/// Bug 67476: If the query runs with a non-THROW overflow mode and hits a limit, the query result cache will store a truncated
Expand Down
Loading