summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/process_interface_standalone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/process_interface_standalone.cpp')
-rw-r--r--src/mongo/db/pipeline/process_interface_standalone.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/process_interface_standalone.cpp b/src/mongo/db/pipeline/process_interface_standalone.cpp
index 1cd3d461ab4..56150b9535e 100644
--- a/src/mongo/db/pipeline/process_interface_standalone.cpp
+++ b/src/mongo/db/pipeline/process_interface_standalone.cpp
@@ -383,7 +383,7 @@ std::vector<FieldPath> MongoInterfaceStandalone::collectDocumentKeyFieldsActingA
std::vector<GenericCursor> MongoInterfaceStandalone::getIdleCursors(
const intrusive_ptr<ExpressionContext>& expCtx, CurrentOpUserMode userMode) const {
- return CursorManager::getGlobalCursorManager()->getIdleCursors(expCtx->opCtx, userMode);
+ return CursorManager::get(expCtx->opCtx)->getIdleCursors(expCtx->opCtx, userMode);
}
boost::optional<Document> MongoInterfaceStandalone::lookupSingleDocument(