addressing concerns

This commit is contained in:
Todd Gruben 2017-08-09 15:34:59 -05:00
parent 93257af5d2
commit 5d39bc0b1c
2 changed files with 1 additions and 2 deletions

View file

@ -274,7 +274,6 @@ func (f *Fragment) openCache() error {
// Read in all rows by ID.
// This will cause them to be added to the cache.
for _, id := range pb.IDs {
//n := f.row(id, false, false).Count()
n := f.storage.CountRange(id*SliceWidth, (id+1)*SliceWidth)
f.cache.BulkAdd(id, n)
}

View file

@ -191,7 +191,7 @@ func TestBitmap_Max(t *testing.T) {
}
}
}
func TestBitmap_BitmapCountRangeBug(t *testing.T) {
func TestBitmap_BitmapCountRangeEdgeCase(t *testing.T) {
s := uint64(2009 * 1048576)
e := uint64(2010 * 1048576)