1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

fix(aggregation): fix dumping RGDatas to disk

`amount` parameter of `RGData::serialize` is the raw size of `rowData`
buffer without StringStore/UserDataStore/etc
This commit is contained in:
Aleksei Antipovskii
2025-04-01 15:03:06 +02:00
committed by Alexey Antipovsky
parent c618fa284d
commit aa5f4fc5e7

View File

@ -1361,7 +1361,7 @@ class RowGroupStorage
{
messageqcpp::ByteStream bs;
fRowGroupOut->setData(rgdata);
rgdata->serialize(bs, fRowGroupOut->getSizeWithStrings());
rgdata->serialize(bs, fRowGroupOut->getDataSize());
int errNo;
if ((errNo = fDumper->write(makeRGFilename(rgid), (char*)bs.buf(), bs.length())) != 0)