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

Function UpdateClone

src/execution_plan/ops/op_update.c:125–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125static OpBase *UpdateClone(const ExecutionPlan *plan, const OpBase *opBase) {
126 ASSERT(opBase->type == OPType_UPDATE);
127 OpUpdate *op = (OpUpdate *)opBase;
128
129 rax *update_ctxs = raxCloneWithCallback(op->update_ctxs, (void *(*)(void *))UpdateCtx_Clone);
130 return NewUpdateOp(plan, update_ctxs);
131}
132
133static OpResult UpdateReset(OpBase *ctx) {
134 OpUpdate *op = (OpUpdate *)ctx;

Callers

nothing calls this directly

Calls 2

raxCloneWithCallbackFunction · 0.85
NewUpdateOpFunction · 0.85

Tested by

no test coverage detected