diff options
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r-- | src/mongo/db/ttl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp index c14bd33b50b..242c87e3071 100644 --- a/src/mongo/db/ttl.cpp +++ b/src/mongo/db/ttl.cpp @@ -898,8 +898,8 @@ void TTLMonitor::onStepUp(OperationContext* opCtx) { // processCollModCommand() will acquire MODE_X access to the collection. BSONObjBuilder builder; - uassertStatusOK(processCollModCommand( - opCtx, {DatabaseName{nss->db()}, uuid}, collModCmd, &builder)); + uassertStatusOK( + processCollModCommand(opCtx, {nss->dbName(), uuid}, collModCmd, &builder)); auto result = builder.obj(); LOGV2( 6847701, |