mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
40907 Parameterized views as table functions
Implementation * Fix for clang-today build fails - updated to use const reference in ASTSelectQuery.cpp & ASTSelectWithUnionQuery.cpp
This commit is contained in:
parent
21de85d67c
commit
8b3c4ac504
@ -491,7 +491,7 @@ bool ASTSelectQuery::hasQueryParameters() const
|
||||
if (ast->as<ASTQueryParameter>())
|
||||
return true;
|
||||
|
||||
for (auto child : ast->children)
|
||||
for (const auto & child : ast->children)
|
||||
queue.push(child);
|
||||
}
|
||||
return false;
|
||||
|
@ -104,7 +104,7 @@ bool ASTSelectWithUnionQuery::hasQueryParameters() const
|
||||
return true;
|
||||
}
|
||||
|
||||
for (auto child : current->children)
|
||||
for (const auto & child : current->children)
|
||||
queue.push(child);
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user