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-5 Don't send empty strings in cpimport command line. It confuses cpimport.
This commit is contained in:
@ -253,10 +253,10 @@ bool WEDataLoader::setupCpimport() // fork the cpimport
|
||||
{
|
||||
v2[i++] = arg;
|
||||
}
|
||||
for (i = 0; i < v2.size(); ++i)
|
||||
for (unsigned int j = 0; j < i; ++j)
|
||||
{
|
||||
Cmds.push_back(const_cast<char*>(v2[i].c_str()));
|
||||
}
|
||||
Cmds.push_back(const_cast<char*>(v2[j].c_str()));
|
||||
}
|
||||
|
||||
Cmds.push_back(0); //null terminate
|
||||
//updatePrgmPath(Cmds);
|
||||
|
@ -459,10 +459,9 @@ void WESplitterApp::invokeCpimport()
|
||||
//we need something that works on Windows as well as linux
|
||||
v2[i++] = arg;
|
||||
}
|
||||
for (i = 0; i < v2.size(); ++i)
|
||||
for (unsigned int j = 0; j < i; ++j)
|
||||
{
|
||||
//we're going to exec() below, so don't worry about freeing
|
||||
Cmds.push_back(const_cast<char*>(v2[i].c_str()));
|
||||
Cmds.push_back(const_cast<char*>(v2[j].c_str()));
|
||||
}
|
||||
|
||||
Cmds.push_back(0); //null terminate
|
||||
|
Reference in New Issue
Block a user