summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/shardsvr_drop_collection_command.cpp
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2022-05-18 19:41:20 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-19 18:19:03 +0000
commitb065a3b04ab6c14b7a695f0c3f97eaa81b202a36 (patch)
treeaacf818dfbefcc6953a9db5da6db6b0ac54983a5 /src/mongo/db/s/shardsvr_drop_collection_command.cpp
parenteb90659062d8ac2dfd629b5d672c67423bddaa6a (diff)
downloadmongo-b065a3b04ab6c14b7a695f0c3f97eaa81b202a36.tar.gz
SERVER-63109 Change CollectionCatalog::_databaseProfileSettings to be keyed by DatabaseName
Diffstat (limited to 'src/mongo/db/s/shardsvr_drop_collection_command.cpp')
-rw-r--r--src/mongo/db/s/shardsvr_drop_collection_command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/shardsvr_drop_collection_command.cpp b/src/mongo/db/s/shardsvr_drop_collection_command.cpp
index 55d9d096121..9e7954b2d56 100644
--- a/src/mongo/db/s/shardsvr_drop_collection_command.cpp
+++ b/src/mongo/db/s/shardsvr_drop_collection_command.cpp
@@ -94,7 +94,7 @@ public:
// Since this operation is not directly writing locally we need to force its db
// profile level increase in order to be logged in "<db>.system.profile"
CurOp::get(opCtx)->raiseDbProfileLevel(
- CollectionCatalog::get(opCtx)->getDatabaseProfileLevel(targetNs.db()));
+ CollectionCatalog::get(opCtx)->getDatabaseProfileLevel(targetNs.dbName()));
auto coordinatorDoc = DropCollectionCoordinatorDocument();
coordinatorDoc.setShardingDDLCoordinatorMetadata(