summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/internal_transactions_test_command.h
diff options
context:
space:
mode:
authormathisbessamdb <mathis.bessa@mongodb.com>2023-04-27 15:31:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-27 23:27:15 +0000
commit4807eda6d4f199b4ce52e7c1d79edf263809cacc (patch)
tree5b2d495463c6052082098a8cfef232e43fae4f58 /src/mongo/s/commands/internal_transactions_test_command.h
parent535d68dac4cbc7dda355ca37584e56c61029fd6d (diff)
downloadmongo-4807eda6d4f199b4ce52e7c1d79edf263809cacc.tar.gz
SERVER-74493 Make DatabaseName constructors private - test files
Diffstat (limited to 'src/mongo/s/commands/internal_transactions_test_command.h')
-rw-r--r--src/mongo/s/commands/internal_transactions_test_command.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/commands/internal_transactions_test_command.h b/src/mongo/s/commands/internal_transactions_test_command.h
index 083d4bc0a12..87b6eb0247e 100644
--- a/src/mongo/s/commands/internal_transactions_test_command.h
+++ b/src/mongo/s/commands/internal_transactions_test_command.h
@@ -102,7 +102,8 @@ public:
continue;
}
- const auto res = txnClient.runCommandSync(DatabaseName{dbName}, command);
+ const auto res = txnClient.runCommandSync(
+ DatabaseName::createDatabaseName_forTest(boost::none, dbName), command);
sharedBlock->responses.emplace_back(
CommandHelpers::filterCommandReplyForPassthrough(