summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_applier_impl_test_fixture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/oplog_applier_impl_test_fixture.cpp')
-rw-r--r--src/mongo/db/repl/oplog_applier_impl_test_fixture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/oplog_applier_impl_test_fixture.cpp b/src/mongo/db/repl/oplog_applier_impl_test_fixture.cpp
index 72da6429fd2..0743407a534 100644
--- a/src/mongo/db/repl/oplog_applier_impl_test_fixture.cpp
+++ b/src/mongo/db/repl/oplog_applier_impl_test_fixture.cpp
@@ -348,7 +348,7 @@ void checkTxnTable(OperationContext* opCtx,
boost::optional<repl::OpTime> expectedStartOpTime,
boost::optional<DurableTxnStateEnum> expectedState) {
DBDirectClient client(opCtx);
- auto result = client.findOne(NamespaceString::kSessionTransactionsTableNamespace.ns(),
+ auto result = client.findOne(NamespaceString::kSessionTransactionsTableNamespace,
BSON(SessionTxnRecord::kSessionIdFieldName << lsid.toBSON()));
ASSERT_FALSE(result.isEmpty());
@@ -392,7 +392,7 @@ StatusWith<BSONObj> CollectionReader::next() {
bool docExists(OperationContext* opCtx, const NamespaceString& nss, const BSONObj& doc) {
DBDirectClient client(opCtx);
- auto result = client.findOne(nss.ns(), doc);
+ auto result = client.findOne(nss, doc);
return !result.isEmpty();
}