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:
@ -180,6 +180,8 @@ public:
|
||||
{
|
||||
fbTruncationAsError = bTruncationAsError;
|
||||
}
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
bool isJobLogOnly() const
|
||||
{
|
||||
return fJobLogOnly;
|
||||
@ -262,11 +264,11 @@ public:
|
||||
{
|
||||
return fS3Secret;
|
||||
}
|
||||
std::string getS3Region() const
|
||||
std::string getS3Region() const
|
||||
{
|
||||
return fS3Region;
|
||||
}
|
||||
|
||||
std::string& getUsername();
|
||||
std::string PrepMode2ListOfFiles(std::string& FileName); // Bug 4342
|
||||
void getColumnList( std::set<std::string>& columnList ) const;
|
||||
|
||||
@ -325,10 +327,20 @@ private: // variables for SplitterApp
|
||||
bool fbTruncationAsError; // Treat string truncation as error
|
||||
boost::uuids::uuid fUUID;
|
||||
bool fConsoleOutput; // If false, no output to console.
|
||||
std::string fTimeZone; // Timezone to use for TIMESTAMP datatype
|
||||
std::string fTimeZone; // Timezone to use for TIMESTAMP datatype
|
||||
std::string fUsername; // Username of the data files owner
|
||||
};
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
inline void WECmdArgs::setUsername(const std::string& username)
|
||||
{
|
||||
fUsername = username;
|
||||
}
|
||||
inline std::string& WECmdArgs::getUsername()
|
||||
{
|
||||
return fUsername;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user