diff options
Diffstat (limited to 'src/mongo/db/repair_database.cpp')
-rw-r--r-- | src/mongo/db/repair_database.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mongo/db/repair_database.cpp b/src/mongo/db/repair_database.cpp index 3ac2f9c6a06..092857b8a81 100644 --- a/src/mongo/db/repair_database.cpp +++ b/src/mongo/db/repair_database.cpp @@ -98,10 +98,7 @@ StatusWith<IndexNameObjs> getIndexNameObjs(OperationContext* opCtx, return Status( ErrorCodes::CannotCreateIndex, str::stream() - << "Cannot rebuild index " - << spec - << ": " - << keyStatus.reason() + << "Cannot rebuild index " << spec << ": " << keyStatus.reason() << " For more info see http://dochub.mongodb.org/core/index-validation"); } } @@ -126,7 +123,7 @@ Status rebuildIndexesOnCollection(OperationContext* opCtx, return swRebuild.getStatus(); } - auto[numRecords, dataSize] = swRebuild.getValue(); + auto [numRecords, dataSize] = swRebuild.getValue(); auto rs = collection->getRecordStore(); |