cass storage asm fix

This commit is contained in:
Todd Gruben 2014-08-18 21:37:16 +00:00
parent 3ec7e7e51b
commit cc0078c0ad

View file

@ -84,7 +84,7 @@ func (c *CassandraStorage) Fetch(bitmap_id uint64, db string, frame string, slic
s8 = uint8(block_index)
if chunk_key != marker {
if chunk_key != last_key {
chunk = &Chunk{uint64(chunk_key), BlockArray{}}
chunk = &Chunk{uint64(chunk_key), BlockArray{make([]uint64, 32, 32)}}
bitmap.AddChunk(chunk)
}
chunk.Value.Block[s8] = uint64(block)