You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +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
@@ -46,9 +46,7 @@ class WEColOORInfo // Column Out-Of-Range Info
|
||||
WEColOORInfo() : fColNum(0), fColType(execplan::CalpontSystemCatalog::INT), fNoOfOORs(0)
|
||||
{
|
||||
}
|
||||
~WEColOORInfo()
|
||||
{
|
||||
}
|
||||
~WEColOORInfo() = default;
|
||||
|
||||
public:
|
||||
int fColNum;
|
||||
@@ -63,14 +61,12 @@ class WESdHandlerException : public std::exception
|
||||
{
|
||||
public:
|
||||
std::string fWhat;
|
||||
WESdHandlerException(std::string& What) throw()
|
||||
explicit WESdHandlerException(const std::string& What) noexcept
|
||||
{
|
||||
fWhat = What;
|
||||
}
|
||||
virtual ~WESdHandlerException() throw()
|
||||
{
|
||||
}
|
||||
virtual const char* what() const throw()
|
||||
~WESdHandlerException() noexcept override = default;
|
||||
const char* what() const noexcept override
|
||||
{
|
||||
return fWhat.c_str();
|
||||
}
|
||||
@@ -82,12 +78,10 @@ class WESdHandlerException : public std::exception
|
||||
class WESplClientRunner
|
||||
{
|
||||
public:
|
||||
WESplClientRunner(WESplClient& Sc) : fOwner(Sc)
|
||||
explicit WESplClientRunner(WESplClient& Sc) : fOwner(Sc)
|
||||
{ /* ctor */
|
||||
}
|
||||
virtual ~WESplClientRunner()
|
||||
{ /* dtor */
|
||||
}
|
||||
virtual ~WESplClientRunner() = default;
|
||||
void operator()();
|
||||
|
||||
public:
|
||||
@@ -389,9 +383,7 @@ class WESplClient
|
||||
WERowsUploadInfo() : fRowsRead(0), fRowsInserted(0)
|
||||
{
|
||||
}
|
||||
~WERowsUploadInfo()
|
||||
{
|
||||
}
|
||||
~WERowsUploadInfo() = default;
|
||||
|
||||
public:
|
||||
int64_t fRowsRead;
|
||||
|
Reference in New Issue
Block a user