You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-5385 set data extermination [develop-23.02] (#2813)
* Delete RowGroup::setData and make Pointer ctor explicit * some push_backs replaced with emplace_backs * Fixes of review notes
This commit is contained in:
@ -689,7 +689,7 @@ void RowAggregation::initialize()
|
||||
// Keep a copy of the null row to initialize new map entries.
|
||||
fRowGroupOut->initRow(&fNullRow, true);
|
||||
fNullRowData.reset(new uint8_t[fNullRow.getSize()]);
|
||||
fNullRow.setData(fNullRowData.get());
|
||||
fNullRow.setData(rowgroup::Row::Pointer(fNullRowData.get()));
|
||||
copyRow(fRow, &fNullRow);
|
||||
|
||||
// Lazy approach w/o a mapping b/w fFunctionCols idx and fRGContextColl idx
|
||||
@ -4673,7 +4673,7 @@ void RowAggregationSubDistinct::setInputOutput(const RowGroup& pRowGroupIn, RowG
|
||||
// initialize the aggregate row
|
||||
fRowGroupOut->initRow(&fDistRow, true);
|
||||
fDistRowData.reset(new uint8_t[fDistRow.getSize()]);
|
||||
fDistRow.setData(fDistRowData.get());
|
||||
fDistRow.setData(rowgroup::Row::Pointer(fDistRowData.get()));
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user