You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-27 21:01:50 +03:00
fix(cpimport): MCOL-4882 fix -L arg default value
This commit is contained in:
committed by
Leonid Fedorov
parent
25c364a520
commit
7dca1da8f2
@ -131,7 +131,7 @@ WECmdArgs::WECmdArgs(int argc, char** argv)
|
||||
"S3 Hostname (for S3 imports, Amazon's S3 default)")
|
||||
("s3-region,g", po::value<string>(&fS3Region),
|
||||
"S3 Region (for S3 imports)")
|
||||
("errors-dir,L", po::value<string>(&fErrorDir)->default_value(MCSLOGDIR),
|
||||
("errors-dir,L", po::value<string>(&fErrorDir)->default_value(fErrorDir),
|
||||
"Directory for the output .err and .bad files")
|
||||
("job-uuid,u", po::value<string>(&fUUID), "import job UUID")
|
||||
("username,U", po::value<string>(&fUsername), "Username of the files owner.")
|
||||
@ -514,7 +514,10 @@ void WECmdArgs::fillParams(BulkLoad& curJob, std::string& sJobIdStr, std::string
|
||||
{
|
||||
cout << "number of read threads : " << fNoOfReadThrds << endl;
|
||||
}
|
||||
cout << "Column delimiter : " << (fColDelim == '\t' ? "\\t" : string{fColDelim}) << endl;
|
||||
if (fColDelim != 0)
|
||||
{
|
||||
cout << "Column delimiter : " << (fColDelim == '\t' ? "\\t" : string{fColDelim}) << endl;
|
||||
}
|
||||
if (fNoOfWriteThrds != 0)
|
||||
{
|
||||
cout << "number of parse threads : " << fNoOfWriteThrds << endl;
|
||||
|
@ -132,7 +132,7 @@ WECmdArgs::WECmdArgs(int argc, char** argv)
|
||||
"S3 Hostname (for S3 imports, Amazon's S3 default)")
|
||||
("s3-region,g", po::value<string>(&fS3Region),
|
||||
"S3 Region (for S3 imports)")
|
||||
("errors-dir,L", po::value<string>(&fErrorDir)->default_value(MCSLOGDIR),
|
||||
("errors-dir,L", po::value<string>(&fErrorDir)->default_value(fErrorDir),
|
||||
"Directory for the output .err and .bad files")
|
||||
("username,U", po::value<string>(&fUsername), "Username of the files owner.")
|
||||
("dbname", po::value<string>(), "Name of the database to load")
|
||||
|
Reference in New Issue
Block a user