Skip to content

Commit 8ff431d

Browse files
committed
update
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
1 parent 715b5d2 commit 8ff431d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

statistics/histogram.go

+1
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ func (hg *Histogram) BinarySearchRemoveVal(valCntPairs TopNMeta) {
306306
if hg.Buckets[midIdx].Count < 0 {
307307
hg.Buckets[midIdx].Count = 0
308308
}
309+
break
309310
}
310311
}
311312

0 commit comments

Comments
 (0)