mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
corrected return value in updater to prevent allocation
This commit is contained in:
parent
f5d5cbb0b9
commit
a159c74498
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ func (u updater) update(oldV *container, exists bool) (*container, bool) {
|
|||
oldV.containerType = u.containerType
|
||||
oldV.n = u.n
|
||||
oldV.mapped = u.mapped
|
||||
return oldV, true
|
||||
return oldV, false
|
||||
}
|
||||
return &container{
|
||||
containerType: u.containerType,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue