diff options
Diffstat (limited to 'src/mongo/db/commands/dbcommands_d.cpp')
-rw-r--r-- | src/mongo/db/commands/dbcommands_d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/dbcommands_d.cpp b/src/mongo/db/commands/dbcommands_d.cpp index 16f3f9c457d..a77ed7e7260 100644 --- a/src/mongo/db/commands/dbcommands_d.cpp +++ b/src/mongo/db/commands/dbcommands_d.cpp @@ -292,7 +292,7 @@ public: BSONObj query = BSON("files_id" << jsobj["filemd5"] << "n" << GTE << n); BSONObj sort = BSON("files_id" << 1 << "n" << 1); - return writeConflictRetry(opCtx, "filemd5", toStringForLogging(dbName), [&] { + return writeConflictRetry(opCtx, "filemd5", NamespaceString(dbName), [&] { auto findCommand = std::make_unique<FindCommandRequest>(nss); findCommand->setFilter(query.getOwned()); findCommand->setSort(sort.getOwned()); |