mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
fix inmemoryBlock's Less method (#2881)
This commit is contained in:
parent
059e769674
commit
14c6212a61
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ func (ib *inmemoryBlock) Less(i, j int) bool {
|
|||
a.Start += cpLen
|
||||
b.Start += cpLen
|
||||
data := ib.data
|
||||
return string(items[i].Bytes(data)) < string(items[j].Bytes(data))
|
||||
return string(a.Bytes(data)) < string(b.Bytes(data))
|
||||
}
|
||||
|
||||
func (ib *inmemoryBlock) Swap(i, j int) {
|
||||
|
|
Loading…
Reference in a new issue