diff options
Diffstat (limited to 'src/mongo/db/catalog/index_catalog_impl.h')
-rw-r--r-- | src/mongo/db/catalog/index_catalog_impl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/index_catalog_impl.h b/src/mongo/db/catalog/index_catalog_impl.h index da755206ba8..36d9e8c41e4 100644 --- a/src/mongo/db/catalog/index_catalog_impl.h +++ b/src/mongo/db/catalog/index_catalog_impl.h @@ -249,7 +249,8 @@ public: IndexBuildBlock(OperationContext* opCtx, Collection* collection, IndexCatalogImpl* catalog, - const BSONObj& spec); + const BSONObj& spec, + IndexBuildMethod method); ~IndexBuildBlock(); @@ -288,6 +289,7 @@ public: const std::string _ns; BSONObj _spec; + IndexBuildMethod _method; std::string _indexName; std::string _indexNamespace; @@ -336,7 +338,7 @@ public: } std::unique_ptr<IndexCatalog::IndexBuildBlockInterface> createIndexBuildBlock( - OperationContext* opCtx, const BSONObj& spec) override; + OperationContext* opCtx, const BSONObj& spec, IndexBuildMethod method) override; std::string::size_type getLongestIndexNameLength(OperationContext* opCtx) const override; |