1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Merge pull request #1533 from drrtuy/MCOL-4368-dev

Don't merge yet MCOL-4368 Unified exceptions handling code in dbcon/joblist
This commit is contained in:
Alexander Barkov
2020-10-27 21:45:15 +04:00
committed by GitHub
20 changed files with 296 additions and 475 deletions

View File

@ -14,6 +14,9 @@
# The tokens should be separated by one tab character. The error message text may contain
# any character(s) except tab. The line must end with a single '\n'.
# The id to treat all messages as CRITICAL
444 ERR_ALWAYS_CRITICAL
# Non support errors 1000 ~ 2000.
# The query will go through the optimizer again with some optimization turned off
1000 ERR_MISS_JOIN %1% not joined.

View File

@ -212,17 +212,12 @@ void WindowFunction::operator()()
}
}
}
catch (IDBExcept& iex)
{
fStep->handleException(iex.what(), iex.errorCode());
}
catch (const std::exception& ex)
{
fStep->handleException(ex.what(), logging::ERR_EXECUTE_WINDOW_FUNCTION);
}
catch (...)
{
fStep->handleException("unknown exception", logging::ERR_EXECUTE_WINDOW_FUNCTION);
fStep->handleException(std::current_exception(),
logging::ERR_EXECUTE_WINDOW_FUNCTION,
logging::ERR_WF_DATA_SET_TOO_BIG,
"WindowFunction::operator()");
}
}