1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-4368 Unified exceptions handling code in dbcon/joblist

This commit is contained in:
Roman Nozdrin
2020-10-19 16:49:52 +00:00
parent 92d861d980
commit cd48df99e5
20 changed files with 296 additions and 475 deletions

View File

@ -276,13 +276,11 @@ void TupleUnion::readInput(uint32_t which)
}
catch (...)
{
if (status() == 0)
{
errorMessage("Union step caught an unknown exception.");
status(logging::unionStepErr);
fLogger->logMessage(logging::LOG_TYPE_CRITICAL, "Union step caught an unknown exception.");
}
handleException(std::current_exception(),
logging::unionStepErr,
logging::ERR_UNION_TOO_BIG,
"TupleUnion::readInput()");
status(logging::unionStepErr);
abort();
}