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