diff options
author | Benety Goh <benety@mongodb.com> | 2018-12-19 20:12:55 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-12-19 20:13:10 -0500 |
commit | b3b24dc1aadcbc0c1b62be20377db9cf7d0d9c09 (patch) | |
tree | b8eb325d94aba8748e3d2730531965a560495376 /src/mongo/db/catalog/database.h | |
parent | a35cfea6e7443769a1620f2324b4bf933b731ea1 (diff) | |
download | mongo-b3b24dc1aadcbc0c1b62be20377db9cf7d0d9c09.tar.gz |
SERVER-38700 fold dropAllDatabasesExceptLocal logic into StorageInterfaceImpl::dropReplicatedDatabases
This function is used during initial sync only.
Diffstat (limited to 'src/mongo/db/catalog/database.h')
-rw-r--r-- | src/mongo/db/catalog/database.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mongo/db/catalog/database.h b/src/mongo/db/catalog/database.h index 34f35bad0f2..f37fac1ffce 100644 --- a/src/mongo/db/catalog/database.h +++ b/src/mongo/db/catalog/database.h @@ -41,15 +41,14 @@ #include "mongo/db/catalog/collection_options.h" #include "mongo/db/namespace_string.h" #include "mongo/db/repl/optime.h" -#include "mongo/db/storage/storage_options.h" -#include "mongo/db/views/view.h" #include "mongo/db/views/view_catalog.h" -#include "mongo/stdx/functional.h" -#include "mongo/util/mongoutils/str.h" #include "mongo/util/string_map.h" namespace mongo { +class DatabaseCatalogEntry; +class OperationContext; + /** * Represents a logical database containing Collections. * @@ -131,8 +130,6 @@ public: }; public: - static MONGO_DECLARE_SHIM((OperationContext * opCtx)->void) dropAllDatabasesExceptLocal; - /** * Creates the namespace 'ns' in the database 'db' according to 'options'. If * 'createDefaultIndexes' is true, creates the _id index for the collection (and the system |