Remove useless code.

This commit is contained in:
abel-wang 2021-08-11 19:54:53 +08:00
parent 92ef0a9ed7
commit 1c5d1c6b7a

View File

@ -145,8 +145,6 @@ void RequiredSourceColumnsMatcher::visit(const ASTSelectQuery & select, const AS
/// revisit select_expression_list (with children) when all the aliases are set /// revisit select_expression_list (with children) when all the aliases are set
Visitor(data).visit(select.select()); Visitor(data).visit(select.select());
if (auto with = select.with())
Visitor(data).visit(with);
} }
void RequiredSourceColumnsMatcher::visit(const ASTIdentifier & node, const ASTPtr &, Data & data) void RequiredSourceColumnsMatcher::visit(const ASTIdentifier & node, const ASTPtr &, Data & data)