| 131 | } |
| 132 | |
| 133 | static 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 | |
| 143 | static void UpdateFree(OpBase *ctx) { |
| 144 | OpUpdate *op = (OpUpdate *)ctx; |
nothing calls this directly
no test coverage detected