diff --git a/arangod/Aql/ExecutionBlock.cpp b/arangod/Aql/ExecutionBlock.cpp index da34ca8f73..65fcc03020 100644 --- a/arangod/Aql/ExecutionBlock.cpp +++ b/arangod/Aql/ExecutionBlock.cpp @@ -1080,7 +1080,6 @@ void IndexRangeBlock::buildExpressions () { // The following are needed to evaluate expressions with local data from // the current incoming item: AqlItemBlock* cur = _buffer.front(); - vector& docColls(cur->getDocumentCollections()); IndexOrCondition* newCondition = nullptr; @@ -2692,8 +2691,6 @@ void CalculationBlock::fillBlockWithReference (AqlItemBlock* result) { //////////////////////////////////////////////////////////////////////////////// void CalculationBlock::executeExpression (AqlItemBlock* result) { - std::vector& docColls(result->getDocumentCollections()); - result->setDocumentCollection(_outReg, nullptr); bool const hasCondition = (static_cast(_exeNode)->_conditionVariable != nullptr);