1
0
Fork 0

Set internal state to DONE when upstream is DONE (#10513)

This commit is contained in:
Tobias Gödderz 2019-11-22 18:29:55 +01:00 committed by Michael Hackstein
parent 68e72eab28
commit 913e464962
1 changed files with 1 additions and 0 deletions

View File

@ -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};
}