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:
@ -25,8 +25,6 @@
|
||||
using namespace std;
|
||||
|
||||
|
||||
using namespace boost;
|
||||
|
||||
#include "errorids.h"
|
||||
#include "exceptclasses.h"
|
||||
using namespace logging;
|
||||
@ -273,10 +271,10 @@ void GroupConcatInfo::mapColumns(const RowGroup& projRG)
|
||||
}
|
||||
}
|
||||
|
||||
shared_array<int> GroupConcatInfo::makeMapping(const RowGroup& in, const RowGroup& out)
|
||||
std::shared_ptr<int[]> GroupConcatInfo::makeMapping(const RowGroup& in, const RowGroup& out)
|
||||
{
|
||||
// For some reason using the rowgroup mapping fcns don't work completely right in this class
|
||||
shared_array<int> mapping(new int[out.getColumnCount()]);
|
||||
std::shared_ptr<int[]> mapping(new int[out.getColumnCount()]);
|
||||
|
||||
for (uint64_t i = 0; i < out.getColumnCount(); i++)
|
||||
{
|
||||
@ -345,7 +343,7 @@ uint8_t* GroupConcatAgUM::getResult()
|
||||
return fConcator->getResult(fGroupConcat->fSeparator);
|
||||
}
|
||||
|
||||
void GroupConcatAgUM::applyMapping(const boost::shared_array<int>& mapping, const Row& row)
|
||||
void GroupConcatAgUM::applyMapping(const std::shared_ptr<int[]>& mapping, const Row& row)
|
||||
{
|
||||
// For some reason the rowgroup mapping fcns don't work right in this class.
|
||||
for (uint64_t i = 0; i < fRow.getColumnCount(); i++)
|
||||
|
Reference in New Issue
Block a user