summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/drop_indexes.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-12-14 11:57:35 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-12-16 11:43:28 -0500
commit8467708af7fa83f8827362b80f56dab4aad30a41 (patch)
treeab7858f01ec8ced3111c583ec33e1a55f89d27fe /src/mongo/db/catalog/drop_indexes.cpp
parent6cbca62471218a08a4fdf8785bd1e1e38cf9bde3 (diff)
downloadmongo-8467708af7fa83f8827362b80f56dab4aad30a41.tar.gz
SERVER-29909 Remove circular dependency between db_raii and sharding libraries
Diffstat (limited to 'src/mongo/db/catalog/drop_indexes.cpp')
-rw-r--r--src/mongo/db/catalog/drop_indexes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/drop_indexes.cpp b/src/mongo/db/catalog/drop_indexes.cpp
index 12aae53b281..29b9ec80cd5 100644
--- a/src/mongo/db/catalog/drop_indexes.cpp
+++ b/src/mongo/db/catalog/drop_indexes.cpp
@@ -33,8 +33,6 @@
#include "mongo/db/catalog/drop_indexes.h"
#include "mongo/db/background.h"
-#include "mongo/db/catalog/collection.h"
-#include "mongo/db/catalog/database.h"
#include "mongo/db/catalog/index_catalog.h"
#include "mongo/db/client.h"
#include "mongo/db/concurrency/write_conflict_exception.h"
@@ -48,6 +46,7 @@
namespace mongo {
namespace {
+
Status wrappedRun(OperationContext* opCtx,
Collection* collection,
const BSONObj& jsobj,
@@ -142,6 +141,7 @@ Status wrappedRun(OperationContext* opCtx,
return Status(ErrorCodes::IndexNotFound, "invalid index name spec");
}
+
} // namespace
Status dropIndexes(OperationContext* opCtx,