mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
added gob register for BitmapHandle
This commit is contained in:
parent
17e1a101a7
commit
66471ffa80
1 changed files with 6 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package index
|
||||
|
||||
import (
|
||||
"encoding/gob"
|
||||
"errors"
|
||||
"log"
|
||||
. "pilosa/util"
|
||||
|
|
@ -19,6 +20,11 @@ func NewFragmentContainer() *FragmentContainer {
|
|||
|
||||
type BitmapHandle uint64
|
||||
|
||||
func init() {
|
||||
var vh BitmapHandle
|
||||
gob.Register(vh)
|
||||
}
|
||||
|
||||
func (self *FragmentContainer) GetFragment(frag_id SUUID) (*Fragment, bool) {
|
||||
//lock
|
||||
c, v := self.fragments[frag_id]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue