From 03e1f4f09bb54f0262b333cddf5365a7b96680f1 Mon Sep 17 00:00:00 2001 From: Travis Date: Tue, 7 Mar 2017 08:57:03 -0600 Subject: [PATCH] turn on bitmapCache support in openCache() --- fragment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fragment.go b/fragment.go index fd73ff343..18306bc5d 100644 --- a/fragment.go +++ b/fragment.go @@ -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()