summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/database.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-12-19 20:12:55 -0500
committerBenety Goh <benety@mongodb.com>2018-12-19 20:13:10 -0500
commitb3b24dc1aadcbc0c1b62be20377db9cf7d0d9c09 (patch)
treeb8eb325d94aba8748e3d2730531965a560495376 /src/mongo/db/catalog/database.h
parenta35cfea6e7443769a1620f2324b4bf933b731ea1 (diff)
downloadmongo-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.h9
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