diff options
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.cpp')
-rw-r--r-- | src/mongo/db/catalog/collection_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/collection_impl.cpp b/src/mongo/db/catalog/collection_impl.cpp index 92aec2083c5..ec887ea1d3b 100644 --- a/src/mongo/db/catalog/collection_impl.cpp +++ b/src/mongo/db/catalog/collection_impl.cpp @@ -1685,7 +1685,7 @@ Status CollectionImpl::truncate(OperationContext* opCtx) { } // 2) drop indexes - _indexCatalog->dropAllIndexes(opCtx, this, true); + _indexCatalog->dropAllIndexes(opCtx, this, true, {}); // 3) truncate record store auto status = _shared->_recordStore->truncate(opCtx); |