You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-4328 There is a new option in both cpimport and cpimport.bin to asign
an owner for all data files created by cpimport The patch consists of two parts: cpimport.bin changes, cpimport splitter changes cpimport.bin computes uid_t and gid_t early and propagates it down the stack where MCS creates data files
This commit is contained in:
@ -458,6 +458,9 @@ int ColumnInfo::createDelayedFileIfNeeded( const std::string& tableName )
|
||||
}
|
||||
|
||||
boost::scoped_ptr<Dctnry> refDctnry(tempD);
|
||||
// MCOL-4328 Define a file owner uid and gid
|
||||
refDctnry->setUIDGID(this);
|
||||
|
||||
rc = tempD->createDctnry(
|
||||
column.dctnry.dctnryOid,
|
||||
column.dctnryWidth,
|
||||
@ -1681,6 +1684,7 @@ int ColumnInfo::openDctnryStore( bool bMustExist )
|
||||
|
||||
fStore->setLogger(fLog);
|
||||
fStore->setColWidth( column.dctnryWidth );
|
||||
fStore->setUIDGID(this);
|
||||
|
||||
if (column.fWithDefault)
|
||||
fStore->setDefault( column.fDefaultChr );
|
||||
|
Reference in New Issue
Block a user