mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
fix inmemoryBlock's Less method (#2881)
This commit is contained in:
parent
87cdb58bc3
commit
f3ea7823f3
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