diff options
author | Matt Broadstone <mbroadst@mongodb.com> | 2023-04-18 10:52:03 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-18 12:09:05 +0000 |
commit | 7cc71f7d5f29a5850a4d186b9554df3dcb407117 (patch) | |
tree | 068faa351ea01c29118b09a0b84b82d119c5e141 /src/mongo/db/fle_crud.cpp | |
parent | 87824ece4511770a9a3d34b89cf544de7596dd77 (diff) | |
download | mongo-7cc71f7d5f29a5850a4d186b9554df3dcb407117.tar.gz |
SERVER-76222 Avoid temporary allocations of DatabaseName
Diffstat (limited to 'src/mongo/db/fle_crud.cpp')
-rw-r--r-- | src/mongo/db/fle_crud.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/fle_crud.cpp b/src/mongo/db/fle_crud.cpp index ed7e1be568c..f8c6a24794b 100644 --- a/src/mongo/db/fle_crud.cpp +++ b/src/mongo/db/fle_crud.cpp @@ -1507,7 +1507,7 @@ std::vector<std::vector<FLEEdgeCountInfo>> FLEQueryInterfaceImpl::getTags( getCountsCmd.setTokens(toTagSets(tokensSets)); getCountsCmd.setQueryType(queryTypeTranslation(type)); - auto response = _txnClient.runCommandSync(DatabaseName{nss.db()}, getCountsCmd.toBSON({})); + auto response = _txnClient.runCommandSync(nss.dbName(), getCountsCmd.toBSON({})); auto status = getStatusFromWriteCommandReply(response); uassertStatusOK(status); |