add more asserts

This commit is contained in:
Timofey Turenko
2025-02-25 13:39:36 +02:00
parent 3081c9ab38
commit a280bfff31

View File

@ -486,6 +486,7 @@ void TupleHashJoinStep::smallRunnerFcn(uint32_t index, uint threadID, uint64_t*
} }
catch (...) catch (...)
{ {
assert(0);
handleException(std::current_exception(), logging::ERR_EXEMGR_MALFUNCTION, logging::ERR_JOIN_TOO_BIG, handleException(std::current_exception(), logging::ERR_EXEMGR_MALFUNCTION, logging::ERR_JOIN_TOO_BIG,
"TupleHashJoinStep::smallRunnerFcn()"); "TupleHashJoinStep::smallRunnerFcn()");
status(logging::ERR_EXEMGR_MALFUNCTION); status(logging::ERR_EXEMGR_MALFUNCTION);
@ -786,6 +787,7 @@ void TupleHashJoinStep::hjRunner()
} }
catch (...) catch (...)
{ {
assert(0);
handleException(std::current_exception(), logging::ERR_EXEMGR_MALFUNCTION, logging::ERR_JOIN_TOO_BIG, handleException(std::current_exception(), logging::ERR_EXEMGR_MALFUNCTION, logging::ERR_JOIN_TOO_BIG,
"TupleHashJoinStep::hjRunner()"); "TupleHashJoinStep::hjRunner()");
status(logging::ERR_EXEMGR_MALFUNCTION); status(logging::ERR_EXEMGR_MALFUNCTION);