From cfcdc9b9b84c3d9afcbb804513bbdbd54b77b7db Mon Sep 17 00:00:00 2001 From: Ian Boros Date: Thu, 10 Oct 2019 19:24:59 +0000 Subject: SERVER-42560 Simplify passing of metadata between DocumentSource and PlanStage --- src/mongo/db/repl/rollback_impl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mongo/db/repl') diff --git a/src/mongo/db/repl/rollback_impl.cpp b/src/mongo/db/repl/rollback_impl.cpp index 4c670a82a2b..f88a6cdd751 100644 --- a/src/mongo/db/repl/rollback_impl.cpp +++ b/src/mongo/db/repl/rollback_impl.cpp @@ -587,7 +587,8 @@ void RollbackImpl::_correctRecordStoreCounts(OperationContext* opCtx) { opCtx, PlanExecutor::INTERRUPT_ONLY, Collection::ScanDirection::kForward); long long countFromScan = 0; PlanExecutor::ExecState state; - while (PlanExecutor::ADVANCED == (state = exec->getNext(nullptr, nullptr))) { + while (PlanExecutor::ADVANCED == + (state = exec->getNext(static_cast(nullptr), nullptr))) { ++countFromScan; } if (PlanExecutor::IS_EOF != state) { -- cgit v1.2.1