0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

SERVER-30374 Change = to == in _findIndexNumber invariant

This commit is contained in:
Maria van Keulen 2017-07-27 13:44:44 -04:00
parent 6d5c213552
commit 71ff6d8f87

View File

@ -335,7 +335,7 @@ void NamespaceDetailsCollectionCatalogEntry::indexBuildSuccess(OperationContext*
setIndexIsMultikey(opCtx, toIdxNo, tempMultikey);
idxNo = toIdxNo;
invariant((idxNo = _findIndexNumber(opCtx, indexName)));
invariant((idxNo == _findIndexNumber(opCtx, indexName)));
}
opCtx->recoveryUnit()->writingInt(_details->indexBuildsInProgress) -= 1;