mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
fixed allocated size calculation for ColumnArray
This commit is contained in:
parent
985e449bd3
commit
5d1f4355a1
@ -300,7 +300,7 @@ size_t ColumnArray::byteSize() const
|
||||
|
||||
size_t ColumnArray::allocatedBytes() const
|
||||
{
|
||||
return getData().allocatedBytes() + getOffsets().allocated_bytes() * sizeof(getOffsets()[0]);
|
||||
return getData().allocatedBytes() + getOffsets().allocated_bytes();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user