diff options
Diffstat (limited to 'src/mongo/db/commands/count_cmd.cpp')
-rw-r--r-- | src/mongo/db/commands/count_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/count_cmd.cpp b/src/mongo/db/commands/count_cmd.cpp index 5eeffc217b4..522df5047e6 100644 --- a/src/mongo/db/commands/count_cmd.cpp +++ b/src/mongo/db/commands/count_cmd.cpp @@ -156,7 +156,7 @@ public: boost::optional<AutoGetCollectionForReadCommandMaybeLockFree> ctx; ctx.emplace(opCtx, CommandHelpers::parseNsCollectionRequired(dbName, cmdObj), - AutoGetCollectionViewMode::kViewsPermitted); + auto_get_collection::ViewMode::kViewsPermitted); const auto nss = ctx->getNss(); CountCommandRequest request(NamespaceStringOrUUID(NamespaceString{})); @@ -237,7 +237,7 @@ public: boost::optional<AutoGetCollectionForReadCommandMaybeLockFree> ctx; ctx.emplace(opCtx, CommandHelpers::parseNsOrUUID(dbName, cmdObj), - AutoGetCollectionViewMode::kViewsPermitted); + auto_get_collection::ViewMode::kViewsPermitted); const auto& nss = ctx->getNss(); CurOpFailpointHelpers::waitWhileFailPointEnabled( |