mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Merge pull request #47 from tgruben/inspect-fix
fixed bug in slice container seek
This commit is contained in:
commit
16d5db97a6
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