mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Correct a finding from clang-tidy
This commit is contained in:
parent
ba4072f049
commit
b8a959da89
@ -2032,7 +2032,7 @@ void QueryAnalyzer::evaluateScalarSubqueryIfNeeded(QueryTreeNodePtr & node, Iden
|
||||
auto & nearest_query_scope_query_node = nearest_query_scope->scope_node->as<QueryNode &>();
|
||||
auto & mutable_context = nearest_query_scope_query_node.getMutableContext();
|
||||
|
||||
const auto scalar_query_hash_string = DB::toString(node_with_hash.hash);
|
||||
auto scalar_query_hash_string = DB::toString(node_with_hash.hash);
|
||||
|
||||
if (mutable_context->hasQueryContext())
|
||||
mutable_context->getQueryContext()->addScalar(scalar_query_hash_string, scalar_block);
|
||||
|
Loading…
Reference in New Issue
Block a user