summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/catalog/database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/database.cpp b/src/mongo/db/catalog/database.cpp
index f6b246395e6..47bfda5ee85 100644
--- a/src/mongo/db/catalog/database.cpp
+++ b/src/mongo/db/catalog/database.cpp
@@ -654,7 +654,7 @@ void Database::dropDatabase(OperationContext* txn, Database* db) {
MONGO_WRITE_CONFLICT_RETRY_LOOP_BEGIN {
getGlobalServiceContext()->getGlobalStorageEngine()->dropDatabase(txn, name);
}
- MONGO_WRITE_CONFLICT_RETRY_LOOP_END(txn, "dropDatabase", db->name());
+ MONGO_WRITE_CONFLICT_RETRY_LOOP_END(txn, "dropDatabase", name);
}
Status userCreateNS(OperationContext* txn,