diff options
author | Sophia Tan <sophia_tll@hotmail.com> | 2022-08-17 21:59:59 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-08-23 19:04:14 +0000 |
commit | cd1b7ce13eb583946482b5eeba3b58c0ad308d16 (patch) | |
tree | 3a713da288d0988f57281bfcb54a3ba9a4c586df /src/mongo/s/commands/cluster_find_and_modify_cmd.cpp | |
parent | 35f5a6ea3fdbddccb2f08b1f63fad64066ba605e (diff) | |
download | mongo-cd1b7ce13eb583946482b5eeba3b58c0ad308d16.tar.gz |
SERVER-68421 Remove CommandHelper::parseNsCollectionRequired(StringData dbname, const BSONObj& cmdObj)
Diffstat (limited to 'src/mongo/s/commands/cluster_find_and_modify_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_find_and_modify_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_find_and_modify_cmd.cpp b/src/mongo/s/commands/cluster_find_and_modify_cmd.cpp index 81afeef46ab..d01690787ee 100644 --- a/src/mongo/s/commands/cluster_find_and_modify_cmd.cpp +++ b/src/mongo/s/commands/cluster_find_and_modify_cmd.cpp @@ -377,7 +377,7 @@ public: const OpMsgRequest& request, ExplainOptions::Verbosity verbosity, rpc::ReplyBuilderInterface* result) const override { - std::string dbName = request.getDatabase().toString(); + const DatabaseName dbName(request.getValidatedTenantId(), request.getDatabase()); const BSONObj& cmdObj = [&]() { // Check whether the query portion needs to be rewritten for FLE. auto findAndModifyRequest = write_ops::FindAndModifyCommandRequest::parse( |