mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 08:10:50 +00:00
Sort all rowIDs gathered before storing them
This commit is contained in:
parent
9b23dcdd0a
commit
d26c6b048e
1 changed files with 1 additions and 0 deletions
|
|
@ -3375,6 +3375,7 @@ func timeFragmentsRowIterator(fragments []*fragment, tx Tx, wrap bool, filters .
|
|||
allRowIDs[i] = rowID
|
||||
i++
|
||||
}
|
||||
sort.Slice(allRowIDs, func(i, j int) bool { return allRowIDs[i] < allRowIDs[j] })
|
||||
|
||||
it.rowIDToFragments = rowIDToFragments
|
||||
it.allRowIDs = allRowIDs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue