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(cpimport): MCOL-5164 ignore all errors (-e all
)
This commit is contained in:
committed by
Leonid Fedorov
parent
7dca1da8f2
commit
1ce46b5e0b
@ -230,8 +230,16 @@ void XMLGenProc::makeTableData(const CalpontSystemCatalog::TableName& table, con
|
||||
}
|
||||
|
||||
xmlTextWriterWriteAttribute(fWriter, BAD_CAST xmlTagTable[TAG_LOAD_NAME], BAD_CAST tmp.c_str());
|
||||
xmlTextWriterWriteFormatAttribute(fWriter, BAD_CAST xmlTagTable[TAG_MAX_ERR_ROW], "%d",
|
||||
atoi(fInputMgr->getParm(XMLGenData::MAXERROR).c_str()));
|
||||
auto sMaxErrors = fInputMgr->getParm(XMLGenData::MAXERROR);
|
||||
if (sMaxErrors == "all")
|
||||
{
|
||||
xmlTextWriterWriteAttribute(fWriter, BAD_CAST xmlTagTable[TAG_MAX_ERR_ROW], BAD_CAST sMaxErrors.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
xmlTextWriterWriteFormatAttribute(fWriter, BAD_CAST xmlTagTable[TAG_MAX_ERR_ROW], "%d",
|
||||
atoi(sMaxErrors.c_str()));
|
||||
}
|
||||
}
|
||||
|
||||
kount++;
|
||||
|
Reference in New Issue
Block a user