You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
replace boost::shared_array<T> to std::shared_ptr<T[]>
This commit is contained in:
@ -5298,7 +5298,7 @@ void TupleAggregateStep::threadedAggregateRowGroups(uint32_t threadID)
|
||||
RGData rgData;
|
||||
scoped_array<RowBucketVec> rowBucketVecs(new RowBucketVec[fNumOfBuckets]);
|
||||
scoped_array<Row> distRow;
|
||||
scoped_array<shared_array<uint8_t>> distRowData;
|
||||
scoped_array<std::shared_ptr<uint8_t[]>> distRowData;
|
||||
uint32_t bucketID;
|
||||
scoped_array<bool> bucketDone(new bool[fNumOfBuckets]);
|
||||
vector<uint32_t> hashLens;
|
||||
@ -5365,7 +5365,7 @@ void TupleAggregateStep::threadedAggregateRowGroups(uint32_t threadID)
|
||||
rowBucketVecs[i].resize(multiDist->subAggregators().size());
|
||||
|
||||
distRow.reset(new Row[multiDist->subAggregators().size()]);
|
||||
distRowData.reset(new shared_array<uint8_t>[multiDist->subAggregators().size()]);
|
||||
distRowData.reset(new std::shared_ptr<uint8_t[]>[multiDist->subAggregators().size()]);
|
||||
|
||||
for (uint32_t j = 0; j < multiDist->subAggregators().size(); j++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user