Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Aug 8, 2023
1 parent 715b5d2 commit 8ff431d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions statistics/histogram.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ func (hg *Histogram) BinarySearchRemoveVal(valCntPairs TopNMeta) {
if hg.Buckets[midIdx].Count < 0 {
hg.Buckets[midIdx].Count = 0
}

Check warning on line 308 in statistics/histogram.go

View check run for this annotation

Codecov / codecov/patch

statistics/histogram.go#L307-L308

Added lines #L307 - L308 were not covered by tests
break
}
}

Expand Down

0 comments on commit 8ff431d

Please sign in to comment.