| 35 | } |
| 36 | |
| 37 | bool DeleteNode::getNextTuplesInternal(ExecutionContext* context) { |
| 38 | if (!children[0]->getNextTuple(context)) { |
| 39 | for (auto& executor : executors) { |
| 40 | executor->finalize(context); |
| 41 | } |
| 42 | return false; |
| 43 | } |
| 44 | for (auto& executor : executors) { |
| 45 | executor->delete_(context); |
| 46 | } |
| 47 | return true; |
| 48 | } |
| 49 | |
| 50 | void DeleteNode::finalizeInternal(ExecutionContext* context) { |
| 51 | for (auto& executor : executors) { |
nothing calls this directly
no test coverage detected