Skip to content

Commit

Permalink
remove comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
xtcyclist committed Dec 2, 2022
1 parent 6bc61a6 commit af4e7fd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/graph/validator/MatchValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -481,14 +481,6 @@ Status MatchValidator::validateReturn(MatchReturn *ret,
NG_RETURN_IF_ERROR(validatePagination(ret->skip(), ret->limit(), *paginationCtx));
retClauseCtx.pagination = std::move(paginationCtx);

/*
if (!preValidatedOrderBy && ret->orderFactors() != nullptr) {
auto orderByCtx = getContext<OrderByClauseContext>();
NG_RETURN_IF_ERROR(
validateOrderBy(ret->orderFactors(), retClauseCtx.yield->yieldColumns, *orderByCtx));
retClauseCtx.order = std::move(orderByCtx);
}
*/
return Status::OK();
}

Expand Down Expand Up @@ -908,7 +900,6 @@ Status MatchValidator::validateOrderBy(MatchReturn *ret,
orderByCtx.indexedOrderFactors.emplace_back(iter->second, factor->orderType());
}
}
// retClauseCtx.order = std::move(orderByCtx);

return Status::OK();
}
Expand Down

0 comments on commit af4e7fd

Please sign in to comment.