diff options
author | Benety Goh <benety@mongodb.com> | 2018-12-10 14:14:27 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-12-10 14:14:48 -0500 |
commit | ba216692a2c1779dcf631f1e676ec9297aaf22e2 (patch) | |
tree | 600b56a6d79b13ab4c507c604a81e4e158823fc1 /src/mongo/dbtests/indexupdatetests.cpp | |
parent | 1bef15e88938c69a96903a92ac20a4416e559a73 (diff) | |
download | mongo-ba216692a2c1779dcf631f1e676ec9297aaf22e2.tar.gz |
SERVER-38330 merge MultiIndexBlock and MultiIndexBlockImpl
Diffstat (limited to 'src/mongo/dbtests/indexupdatetests.cpp')
-rw-r--r-- | src/mongo/dbtests/indexupdatetests.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mongo/dbtests/indexupdatetests.cpp b/src/mongo/dbtests/indexupdatetests.cpp index 9c44428ef6d..a96b827cc14 100644 --- a/src/mongo/dbtests/indexupdatetests.cpp +++ b/src/mongo/dbtests/indexupdatetests.cpp @@ -37,7 +37,6 @@ #include "mongo/db/catalog/collection.h" #include "mongo/db/catalog/index_catalog.h" #include "mongo/db/catalog/multi_index_block.h" -#include "mongo/db/catalog/multi_index_block_impl.h" #include "mongo/db/client.h" #include "mongo/db/db_raii.h" #include "mongo/db/dbdirectclient.h" @@ -77,7 +76,7 @@ protected: bool buildIndexInterrupted(const BSONObj& key, bool allowInterruption) { try { - MultiIndexBlockImpl indexer(&_opCtx, collection()); + MultiIndexBlock indexer(&_opCtx, collection()); if (allowInterruption) indexer.allowInterruption(); @@ -130,7 +129,7 @@ public: wunit.commit(); } - MultiIndexBlockImpl indexer(&_opCtx, coll); + MultiIndexBlock indexer(&_opCtx, coll); indexer.allowBackgroundBuilding(); indexer.allowInterruption(); indexer.ignoreUniqueConstraint(); @@ -186,7 +185,7 @@ public: wunit.commit(); } - MultiIndexBlockImpl indexer(&_opCtx, coll); + MultiIndexBlock indexer(&_opCtx, coll); indexer.allowBackgroundBuilding(); indexer.allowInterruption(); // indexer.ignoreUniqueConstraint(); // not calling this @@ -372,7 +371,7 @@ public: }; Status IndexBuildBase::createIndex(const std::string& dbname, const BSONObj& indexSpec) { - MultiIndexBlockImpl indexer(&_opCtx, collection()); + MultiIndexBlock indexer(&_opCtx, collection()); Status status = indexer.init(indexSpec).getStatus(); if (status == ErrorCodes::IndexAlreadyExists) { return Status::OK(); |