From 1c5d1c6b7a6062dda03daa3c7f59b1835a4b7a42 Mon Sep 17 00:00:00 2001 From: abel-wang Date: Wed, 11 Aug 2021 19:54:53 +0800 Subject: [PATCH] Remove useless code. --- src/Interpreters/RequiredSourceColumnsVisitor.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Interpreters/RequiredSourceColumnsVisitor.cpp b/src/Interpreters/RequiredSourceColumnsVisitor.cpp index f6786451c82..2c81969009f 100644 --- a/src/Interpreters/RequiredSourceColumnsVisitor.cpp +++ b/src/Interpreters/RequiredSourceColumnsVisitor.cpp @@ -145,8 +145,6 @@ void RequiredSourceColumnsMatcher::visit(const ASTSelectQuery & select, const AS /// revisit select_expression_list (with children) when all the aliases are set Visitor(data).visit(select.select()); - if (auto with = select.with()) - Visitor(data).visit(with); } void RequiredSourceColumnsMatcher::visit(const ASTIdentifier & node, const ASTPtr &, Data & data)