MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / UpdateReset

Function UpdateReset

src/execution_plan/ops/op_update.c:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133static OpResult UpdateReset(OpBase *ctx) {
134 OpUpdate *op = (OpUpdate *)ctx;
135
136 HashTableEmpty(op->node_updates, NULL);
137 HashTableEmpty(op->edge_updates, NULL);
138
139 op->updates_committed = false;
140 return OP_OK;
141}
142
143static void UpdateFree(OpBase *ctx) {
144 OpUpdate *op = (OpUpdate *)ctx;

Callers

nothing calls this directly

Calls 1

HashTableEmptyFunction · 0.85

Tested by

no test coverage detected