diff options
author | Benety Goh <benety@mongodb.com> | 2018-12-19 18:59:12 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-12-19 18:59:28 -0500 |
commit | 51ab5eb0c500d0013ac6265de40ab7dbc3d52131 (patch) | |
tree | bf42d7bdb4ba2537ed19dc1c567e36336fa77c94 /src/mongo/dbtests/rollbacktests.cpp | |
parent | c959f0d1381baba1bf479c3515122ebfc4c39d45 (diff) | |
download | mongo-51ab5eb0c500d0013ac6265de40ab7dbc3d52131.tar.gz |
SERVER-38700 convert static Database::dropDatabase to a method on DatabaseHolder
Diffstat (limited to 'src/mongo/dbtests/rollbacktests.cpp')
-rw-r--r-- | src/mongo/dbtests/rollbacktests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/rollbacktests.cpp b/src/mongo/dbtests/rollbacktests.cpp index e8bcef69ed6..7580dc2afbc 100644 --- a/src/mongo/dbtests/rollbacktests.cpp +++ b/src/mongo/dbtests/rollbacktests.cpp @@ -59,7 +59,7 @@ void dropDatabase(OperationContext* opCtx, const NamespaceString& nss) { Database* db = DatabaseHolder::getDatabaseHolder().get(opCtx, nss.db()); if (db) { - Database::dropDatabase(opCtx, db); + DatabaseHolder::getDatabaseHolder().dropDb(opCtx, db); } } bool collectionExists(OldClientContext* ctx, const string& ns) { |