summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/storage_debug_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/storage_debug_util.cpp')
-rw-r--r--src/mongo/dbtests/storage_debug_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/storage_debug_util.cpp b/src/mongo/dbtests/storage_debug_util.cpp
index 408a9c76b6c..29266bc6ddd 100644
--- a/src/mongo/dbtests/storage_debug_util.cpp
+++ b/src/mongo/dbtests/storage_debug_util.cpp
@@ -64,7 +64,7 @@ void printCollectionAndIndexTableEntries(OperationContext* opCtx, const Namespac
// Iterate and print each index's table of documents.
const auto indexCatalog = coll->getIndexCatalog();
- const auto it = indexCatalog->getIndexIterator(opCtx, IndexCatalog::InclusionPolicy::kReady);
+ const auto it = indexCatalog->getIndexIterator(opCtx, /*includeUnfinished*/ false);
while (it->more()) {
const auto indexCatalogEntry = it->next();
const auto indexDescriptor = indexCatalogEntry->descriptor();