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-5021 Add support for AUX column in the client code calling
CalpontSystemCatalog::columnRIDs().
This commit is contained in:
@ -308,6 +308,7 @@ int RedistributeWorkerThread::buildEntryList()
|
||||
boost::shared_ptr<CalpontSystemCatalog> csc = CalpontSystemCatalog::makeCalpontSystemCatalog(0);
|
||||
const CalpontSystemCatalog::TableName table = csc->tableName(fPlanEntry.table);
|
||||
CalpontSystemCatalog::RIDList cols = csc->columnRIDs(table, true);
|
||||
CalpontSystemCatalog::OID tableAuxColOid = csc->tableAUXColumnOID(table);
|
||||
|
||||
for (CalpontSystemCatalog::RIDList::iterator i = cols.begin(); i != cols.end(); i++)
|
||||
fOids.push_back(i->objnum);
|
||||
@ -317,6 +318,11 @@ int RedistributeWorkerThread::buildEntryList()
|
||||
for (CalpontSystemCatalog::DictOIDList::iterator i = dicts.begin(); i != dicts.end(); i++)
|
||||
fOids.push_back(i->dictOID);
|
||||
|
||||
if (tableAuxColOid > 3000)
|
||||
{
|
||||
fOids.push_back(tableAuxColOid);
|
||||
}
|
||||
|
||||
bool firstOid = true; // for adding segments, all columns have the same lay out.
|
||||
uint16_t source = fPlanEntry.source;
|
||||
uint16_t target = fPlanEntry.destination;
|
||||
|
Reference in New Issue
Block a user