mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +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>())
|
if (ast->as<ASTQueryParameter>())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
for (auto child : ast->children)
|
for (const auto & child : ast->children)
|
||||||
queue.push(child);
|
queue.push(child);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
@ -104,7 +104,7 @@ bool ASTSelectWithUnionQuery::hasQueryParameters() const
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto child : current->children)
|
for (const auto & child : current->children)
|
||||||
queue.push(child);
|
queue.push(child);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user