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

Function _handoff

src/execution_plan/ops/op_update.c:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20static void UpdateFree(OpBase *opBase);
21
22static Record _handoff(OpUpdate *op) {
23 /* TODO: popping a record out of op->records
24 * will reverse the order in which records
25 * are passed down the execution plan. */
26 if(op->records && array_len(op->records) > 0) return array_pop(op->records);
27 return NULL;
28}
29
30// fake hash function
31// hash of key is simply key

Callers 1

UpdateConsumeFunction · 0.70

Calls 1

array_lenFunction · 0.85

Tested by

no test coverage detected