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:
parent
6d5c213552
commit
71ff6d8f87
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user