mirror of https://gitee.com/bigwinds/arangodb
Set internal state to DONE when upstream is DONE (#10513)
This commit is contained in:
parent
68e72eab28
commit
913e464962
|
@ -166,6 +166,7 @@ std::pair<ExecutionState, SharedAqlItemBlockPtr> ExecutionBlockImpl<Executor>::g
|
|||
}
|
||||
if (newBlock == nullptr) {
|
||||
TRI_ASSERT(state == ExecutionState::DONE);
|
||||
_state = InternalState::DONE;
|
||||
// _rowFetcher must be DONE now already
|
||||
return {state, nullptr};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue