summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
diff options
context:
space:
mode:
authorFaustoleyva54 <fausto.leyva@mongodb.com>2022-09-15 15:43:58 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-15 18:38:41 +0000
commit881ad6801b77be9529baf34f421d05f5a7ccaca4 (patch)
tree2c19b1d8d7f85f50cf8d399e461af5f51e3c56b2 /src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
parentd1a117a1abc9ead34fc6399697055a46ca0c1df4 (diff)
downloadmongo-881ad6801b77be9529baf34f421d05f5a7ccaca4.tar.gz
SERVER-68336 Add version of AutoGetCollection which takes a struct for its optional parameters
Diffstat (limited to 'src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp')
-rw-r--r--src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp b/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
index c341101d893..4e72fa27af3 100644
--- a/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
+++ b/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
@@ -251,7 +251,7 @@ std::deque<BSONObj> CommonMongodProcessInterface::listCatalog(OperationContext*
AutoGetCollectionForReadCommandMaybeLockFree collLock(
opCtx,
systemViewsNamespaces.front(),
- AutoGetCollectionViewMode::kViewsForbidden,
+ auto_get_collection::ViewMode::kViewsForbidden,
Date_t::max(),
AutoStatsTracker::LogMode::kUpdateTopAndCurOp,
{++systemViewsNamespaces.cbegin(), systemViewsNamespaces.cend()});
@@ -434,7 +434,7 @@ CommonMongodProcessInterface::attachCursorSourceToPipelineForLocalRead(Pipeline*
autoColl.emplace(expCtx->opCtx,
nsOrUUID,
- AutoGetCollectionViewMode::kViewsForbidden,
+ auto_get_collection::ViewMode::kViewsForbidden,
Date_t::max(),
AutoStatsTracker::LogMode::kUpdateTop,
secondaryNamespaces);