Skip to content

Commit

Permalink
fix anti-predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
czpmango committed Nov 23, 2022
1 parent 05bf2d1 commit e31cca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/graph/executor/query/PatternApplyExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ DataSet PatternApplyExecutor::applySingleKey(Expression* appliedKey,

DataSet PatternApplyExecutor::applyMultiKey(std::vector<Expression*> appliedKeys,
Iterator* appliedIter,
const std::unordered_set<List> validKeys) {
const std::unordered_set<List>& validKeys) {
DataSet ds;
ds.rows.reserve(appliedIter->size());
QueryExpressionContext ctx(ectx_);
Expand Down
2 changes: 1 addition & 1 deletion src/graph/executor/query/PatternApplyExecutor.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class PatternApplyExecutor : public Executor {

DataSet applyMultiKey(std::vector<Expression*> appliedKeys,
Iterator* appliedIter,
const std::unordered_set<List> validKeys);
const std::unordered_set<List>& validKeys);

folly::Future<Status> patternApply();
std::unique_ptr<Iterator> lhsIter_;
Expand Down

0 comments on commit e31cca8

Please sign in to comment.