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

Function OpBase_UpdateConsume

src/execution_plan/ops/op.c:241–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241void OpBase_UpdateConsume
242(
243 OpBase *op,
244 fpConsume consume
245) {
246 ASSERT(op != NULL);
247 // if Operation is profiled, update profiled function
248 // otherwise update consume function
249 if(op->profile != NULL) op->profile = consume;
250 else op->consume = consume;
251}
252
253// updates the plan of an operation
254void OpBase_BindOpToPlan

Callers 6

NodeByLabelScanInitFunction · 0.85
EdgeIndexScanInitFunction · 0.85
IndexScanInitFunction · 0.85
CondVarLenTraverseInitFunction · 0.85
NodeByIdSeekInitFunction · 0.85
AllNodeScanInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected