mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-13577 slave_parallel_mode=optimistic should not report the mode's specific temporary errors
Revert 7bbe324fc1
Fix the bug differently (in log_event.cc)
Fix the test case to actually fail without the bug fix
This commit is contained in:
@@ -3639,13 +3639,10 @@ void handler::print_error(int error, myf errflag)
|
||||
if ((debug_assert_if_crashed_table ||
|
||||
global_system_variables.log_warnings > 1))
|
||||
{
|
||||
THD *thd= ha_thd();
|
||||
/*
|
||||
Log error to log before we crash or if extended warnings are requested
|
||||
*/
|
||||
errflag|= ME_NOREFRESH;
|
||||
if (thd && thd->is_optimistic_slave_worker())
|
||||
errflag|= ME_LOG_AS_WARN;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user