summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/database_test.cpp
diff options
context:
space:
mode:
authorLingzhi Deng <lingzhi.deng@mongodb.com>2020-11-04 21:57:14 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-06 03:20:31 +0000
commitca3c18008bff68e2684ad5954452c6513f7a744e (patch)
treee280511f4948c0c146a39df33576ff39fae3f26b /src/mongo/db/catalog/database_test.cpp
parenta53936d6b01f26babe3ac2be79be68e8334590b2 (diff)
downloadmongo-ca3c18008bff68e2684ad5954452c6513f7a744e.tar.gz
SERVER-52624: Remove useless setOplogCollectionName and getOplogCollectionName from LocalOplogInfo
Diffstat (limited to 'src/mongo/db/catalog/database_test.cpp')
-rw-r--r--src/mongo/db/catalog/database_test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/database_test.cpp b/src/mongo/db/catalog/database_test.cpp
index 45a688b5caa..4badacce96f 100644
--- a/src/mongo/db/catalog/database_test.cpp
+++ b/src/mongo/db/catalog/database_test.cpp
@@ -89,7 +89,6 @@ void DatabaseTest::setUp() {
// Set up ReplicationCoordinator and create oplog.
repl::ReplicationCoordinator::set(service,
std::make_unique<repl::ReplicationCoordinatorMock>(service));
- repl::setOplogCollectionName(service);
repl::createOplog(_opCtx.get());
// Ensure that we are primary.