mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-09 14:41:02 +00:00
Allocate bitmap if needed (existing wrong type
This commit is contained in:
parent
3eb060c4c6
commit
50f119df4e
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ func (b *Bitmap) unionIntoTarget(target *Bitmap, others ...*Bitmap) {
|
|||
// else {
|
||||
// Use a bitmap
|
||||
container := target.Containers.Get(iKey)
|
||||
if container == nil {
|
||||
if container == nil || container.containerType != containerBitmap {
|
||||
buf := make([]uint64, bitmapN)
|
||||
ob := buf[:bitmapN]
|
||||
container = &Container{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue