diff options
Diffstat (limited to 'src/mongo/db/transaction_history_iterator.cpp')
-rw-r--r-- | src/mongo/db/transaction_history_iterator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/transaction_history_iterator.cpp b/src/mongo/db/transaction_history_iterator.cpp index 5de4a6c90ae..a58db70e5f1 100644 --- a/src/mongo/db/transaction_history_iterator.cpp +++ b/src/mongo/db/transaction_history_iterator.cpp @@ -76,8 +76,8 @@ BSONObj findOneOplogEntry(OperationContext* opCtx, std::unique_ptr<CanonicalQuery> cq = std::move(statusWithCQ.getValue()); AutoGetOplog oplogRead(opCtx, OplogAccessMode::kRead); - const TenantDatabaseName tenantDbName(boost::none, NamespaceString::kLocalDb); - const auto localDb = DatabaseHolder::get(opCtx)->getDb(opCtx, tenantDbName); + const DatabaseName dbName(boost::none, NamespaceString::kLocalDb); + const auto localDb = DatabaseHolder::get(opCtx)->getDb(opCtx, dbName); invariant(localDb); AutoStatsTracker statsTracker( opCtx, |