mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 19:37:51 +00:00
turn on bitmapCache support in openCache()
This commit is contained in:
parent
5048fa1d72
commit
03e1f4f09b
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ func (f *Fragment) openCache() error {
|
|||
// This will cause them to be added to the cache.
|
||||
for _, bitmapID := range pb.BitmapIDs {
|
||||
//n := f.storage.CountRange(bitmapID*SliceWidth, (bitmapID+1)*SliceWidth)
|
||||
n := f.bitmap(bitmapID, true, false).Count()
|
||||
n := f.bitmap(bitmapID, true, true).Count()
|
||||
f.cache.BulkAdd(bitmapID, n)
|
||||
}
|
||||
f.cache.Invalidate()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue