Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu committed Apr 4, 2023
1 parent 6eaa621 commit 45f4ce7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/graph/planner/match/MatchSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@ Expression* MatchSolver::makeIndexFilter(const std::string& label,

auto* root = relationals[0];
for (auto i = 1u; i < relationals.size(); i++) {
auto* left = root;
root = LogicalExpression::makeAnd(qctx->objPool(), left, relationals[i]);
root = LogicalExpression::makeAnd(qctx->objPool(), root, relationals[i]);
}

return root;
Expand Down
2 changes: 1 addition & 1 deletion src/graph/planner/match/StartVidFinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ using StartVidFinderInstantiateFunc = std::function<std::unique_ptr<StartVidFind
// 3. PropIndexSeek finds if a plan could traverse from some vids that could be
// read from the property indices.
// MATCH(n:Tag{prop:value}) RETURN n
// MATCH(n:Tag) WHERE n.prop = value RETURN n
// MATCH(n:Tag) WHERE n.Tag.prop = value RETURN n
//
// 4. LabelIndexSeek finds if a plan could traverse from some vids that could be
// read from the label indices.
Expand Down

0 comments on commit 45f4ce7

Please sign in to comment.