Skip to content

Commit

Permalink
Update index on change (#1225)
Browse files Browse the repository at this point in the history
* WIP

* Fix compile errors

* Only update indexes when necessary

* refined update entity update eval

* WIP

* WIP

* Compilation fixes, edge updates

* Add freeing logic

* Update comments

* some minor changes to op_update

* Address PR comments

* Address PR comments

* always get updated node label id

Co-authored-by: Jeffrey Lovitz <jeffrey.lovitz@gmail.com>
Co-authored-by: DvirDukhan <dvir@redislabs.com>
  • Loading branch information
3 people committed Jul 15, 2020
1 parent 30c803a commit e712193
Show file tree
Hide file tree
Showing 6 changed files with 310 additions and 183 deletions.
1 change: 1 addition & 0 deletions src/execution_plan/execution_plan.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ static inline void _buildUpdateOp(GraphContext *gc, ExecutionPlan *plan,
const cypher_astnode_t *clause) {
EntityUpdateEvalCtx *update_exps = AST_PrepareUpdateOp(gc, clause);
OpBase *op = NewUpdateOp(plan, update_exps);
array_free(update_exps);
_ExecutionPlan_UpdateRoot(plan, op);
}

Expand Down

0 comments on commit e712193

Please sign in to comment.