diff options
Diffstat (limited to 'src/mongo/dbtests/indexupdatetests.cpp')
-rw-r--r-- | src/mongo/dbtests/indexupdatetests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/indexupdatetests.cpp b/src/mongo/dbtests/indexupdatetests.cpp index 81de6756956..e44981aa502 100644 --- a/src/mongo/dbtests/indexupdatetests.cpp +++ b/src/mongo/dbtests/indexupdatetests.cpp @@ -250,7 +250,7 @@ public: WriteUnitOfWork wunit(_opCtx); // Drop all indexes including id index. coll.getWritableCollection()->getIndexCatalog()->dropAllIndexes( - _opCtx, coll.getWritableCollection(), true); + _opCtx, coll.getWritableCollection(), true, {}); // Insert some documents. int32_t nDocs = 1000; OpDebug* const nullOpDebug = nullptr; @@ -300,7 +300,7 @@ public: options.capped = true; options.cappedSize = 10 * 1024; Collection* coll = db->createCollection(_opCtx, _nss, options); - coll->getIndexCatalog()->dropAllIndexes(_opCtx, coll, true); + coll->getIndexCatalog()->dropAllIndexes(_opCtx, coll, true, {}); // Insert some documents. int32_t nDocs = 1000; OpDebug* const nullOpDebug = nullptr; |