Skip to content

Commit

Permalink
Update RequiredSourceColumnsVisitor.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kitaisreal authored Aug 12, 2021
1 parent 1c5d1c6 commit c449cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Interpreters/RequiredSourceColumnsVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void RequiredSourceColumnsMatcher::visit(const ASTSelectQuery & select, const AS
data.addColumnAliasIfAny(*node);
}

if (auto & with = select.with())
if (const auto & with = select.with())
{
for (auto & node : with->children)
{
Expand Down

0 comments on commit c449cf0

Please sign in to comment.