diff options
author | Divjot Arora <divjot.arora@10gen.com> | 2019-02-11 11:23:59 -0500 |
---|---|---|
committer | Divjot Arora <divjot.arora@10gen.com> | 2019-02-12 08:38:46 -0500 |
commit | 4597c34dcdacf0ff5c0e4c7d99d0c735bdd03acc (patch) | |
tree | 3c197623927ed0c1f467272364acee142b972a80 | |
parent | 3190e51d399f1e7c776afe6a9d0bbfbb6b9caea3 (diff) | |
download | mongo-4597c34dcdacf0ff5c0e4c7d99d0c735bdd03acc.tar.gz |
SERVER-36917 Remove the unused DBDirectClient in drop_indexes.cpp
-rw-r--r-- | src/mongo/db/commands/drop_indexes.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/commands/drop_indexes.cpp b/src/mongo/db/commands/drop_indexes.cpp index 0081a133cea..18bf64ca28f 100644 --- a/src/mongo/db/commands/drop_indexes.cpp +++ b/src/mongo/db/commands/drop_indexes.cpp @@ -50,7 +50,6 @@ #include "mongo/db/concurrency/write_conflict_exception.h" #include "mongo/db/curop.h" #include "mongo/db/db_raii.h" -#include "mongo/db/dbdirectclient.h" #include "mongo/db/index/index_descriptor.h" #include "mongo/db/index_builder.h" #include "mongo/db/logical_clock.h" @@ -122,7 +121,6 @@ public: const BSONObj& jsobj, string& errmsg, BSONObjBuilder& result) { - DBDirectClient db(opCtx); const NamespaceString toReIndexNss = CommandHelpers::parseNsCollectionRequired(dbname, jsobj); |