mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-31 11:42:30 +00:00
Minor fixes.
This commit is contained in:
parent
e99a24eb44
commit
d52d142275
@ -447,7 +447,7 @@ func (b *Bucket) spill() error {
|
|||||||
|
|
||||||
// Update the child bucket header in this bucket.
|
// Update the child bucket header in this bucket.
|
||||||
value = make([]byte, unsafe.Sizeof(bucket{}))
|
value = make([]byte, unsafe.Sizeof(bucket{}))
|
||||||
bucket := (*bucket)(unsafe.Pointer(&value[0]))
|
var bucket = (*bucket)(unsafe.Pointer(&value[0]))
|
||||||
*bucket = *child.bucket
|
*bucket = *child.bucket
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user