Skip to content

Commit

Permalink
remove unused codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
xtcyclist committed Nov 17, 2022
1 parent 64d67c5 commit 420a012
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/graph/planner/match/ReturnClausePlanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

#include "graph/planner/match/ReturnClausePlanner.h"

#include <set>

#include "graph/planner/match/MatchPathPlanner.h"
#include "graph/planner/match/OrderByClausePlanner.h"
#include "graph/planner/match/PaginationPlanner.h"
Expand All @@ -29,7 +27,6 @@ StatusOr<SubPlan> ReturnClausePlanner::transform(CypherClauseContextBase* clause

Status ReturnClausePlanner::buildReturn(ReturnClauseContext* rctx, SubPlan& subPlan) {
rctx->yield->inputColNames = rctx->inputColNames;

auto yieldPlan = std::make_unique<YieldClausePlanner>()->transform(rctx->yield.get());
NG_RETURN_IF_ERROR(yieldPlan);
auto yieldplan = std::move(yieldPlan).value();
Expand Down
1 change: 0 additions & 1 deletion src/graph/service/QueryInstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ Status QueryInstance::findBestPlan() {
auto rootStatus = optimizer_->findBestPlan(qctx_.get());
NG_RETURN_IF_ERROR(rootStatus);
auto root = std::move(rootStatus).value();
VLOG(1) << "findBestPlan, root: " << root->toString();
plan->setRoot(const_cast<PlanNode *>(root));
return Status::OK();
}
Expand Down

0 comments on commit 420a012

Please sign in to comment.