summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/drop_collection.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2019-01-24 13:09:38 -0500
committerBenety Goh <benety@mongodb.com>2019-01-24 13:09:38 -0500
commit057223f7315fe6fc9a248eb252e113fc2af50199 (patch)
tree364a2182a48a683c54f85c834c634fff116a37d7 /src/mongo/db/catalog/drop_collection.cpp
parent15ad2f665d4de58e6af45f237b050976a3da34e8 (diff)
downloadmongo-057223f7315fe6fc9a248eb252e113fc2af50199.tar.gz
SERVER-39032 remove unnecessary NamespaceString::ns() calls from db/catalog/
Diffstat (limited to 'src/mongo/db/catalog/drop_collection.cpp')
-rw-r--r--src/mongo/db/catalog/drop_collection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/drop_collection.cpp b/src/mongo/db/catalog/drop_collection.cpp
index 8d3eddd947d..66fd0e68f0f 100644
--- a/src/mongo/db/catalog/drop_collection.cpp
+++ b/src/mongo/db/catalog/drop_collection.cpp
@@ -87,7 +87,7 @@ Status dropCollection(OperationContext* opCtx,
if (userInitiatedWritesAndNotPrimary) {
return Status(ErrorCodes::NotMaster,
str::stream() << "Not primary while dropping collection "
- << collectionName.ns());
+ << collectionName);
}
WriteUnitOfWork wunit(opCtx);