fixed allocated size calculation for ColumnArray

This commit is contained in:
Nikolai Kochetov 2017-07-13 19:53:34 +03:00
parent 985e449bd3
commit 5d1f4355a1

View File

@ -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();
}