update to latest bstore, with a bugfix for queries with multiple orders that were partially handled by an index

causing returned order to be incorrect.
was triggered by new code i'm working on.
This commit is contained in:
Mechiel Lukkien
2024-03-30 09:39:18 +01:00
parent 54b24931c9
commit d34dd8aae6
10 changed files with 235 additions and 135 deletions

View File

@ -329,8 +329,7 @@ func (ft fieldType) parseValue(p *parser) any {
if fm.Nonzero(i) {
l = append(l, ft.ListElem.parseValue(p))
} else {
// Always add non-zero elements, or we would
// change the number of elements in a list.
// Always add zero elements, or we would change the number of elements in a list.
l = append(l, ft.ListElem.zeroExportValue())
}
}
@ -343,8 +342,8 @@ func (ft fieldType) parseValue(p *parser) any {
if fm.Nonzero(i) {
l[i] = ft.ListElem.parseValue(p)
} else {
// Always add non-zero elements, or we would
// change the number of elements in a list.
// Always add zero elements, or we would change the number of elements in the
// array.
l[i] = ft.ListElem.zeroExportValue()
}
}