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
Feature/mcol 4882 cpimport skip rows (#3594)
* feat(cpimport): MCOL-4882 add a parameter to skip header rows * chore(cpimport): MCOL-4882 Use boost::program_options to arguments parsing * feat(cpimport.bin): MCOL-4882 Add missing changes * add test * fix clang * add missing cmdline argument * fix bug * Fix double lines skipping * Fix incorrect --silent (-N) parsing * fix default --max-errors processing * fix overwriting default username * move initialization to members declaration
This commit is contained in:
committed by
GitHub
parent
1c8d5ec04e
commit
78c1b5034d
@ -239,12 +239,13 @@ bool WEDataLoader::setupCpimport() // fork the cpimport
|
||||
std::string aCmdLine = fCmdLineStr;
|
||||
std::istringstream ss(aCmdLine);
|
||||
std::string arg;
|
||||
std::vector<std::string> v2(20, "");
|
||||
std::vector<std::string> v2;
|
||||
unsigned int i = 0;
|
||||
|
||||
while (ss >> arg)
|
||||
{
|
||||
v2[i++] = arg;
|
||||
v2.push_back(arg);
|
||||
i++;
|
||||
}
|
||||
|
||||
for (unsigned int j = 0; j < i; ++j)
|
||||
|
Reference in New Issue
Block a user