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

Function ExecutionPlan_Drained

src/execution_plan/execution_plan.c:466–470  ·  view source on GitHub ↗

return true if execution plan been drained false otherwise

Source from the content-addressed store, hash-verified

464// return true if execution plan been drained
465// false otherwise
466bool ExecutionPlan_Drained(ExecutionPlan *plan) {
467 ASSERT(plan != NULL);
468 ASSERT(plan->root != NULL);
469 return (plan->root->consume == deplete_consume);
470}
471
472static void _ExecutionPlan_Drain(OpBase *root) {
473 root->consume = deplete_consume;

Callers 1

abort_and_check_timeoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected