mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 11:27:50 +00:00
fixed bug in slice container seek
This commit is contained in:
parent
407c309640
commit
ca0247e35b
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ func (sc *sliceContainers) Update(key uint64, fn func(*Container, bool) (*Contai
|
|||
// don't expand the slice just to add a nil container, we
|
||||
// could return that anyway
|
||||
if write && nc != nil {
|
||||
sc.insertAt(key, nc, -i-1)
|
||||
sc.insertAt(key, nc, i)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue