mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -7003,13 +7003,6 @@ bool THD::rgi_have_temporary_tables()
|
||||
return rgi_slave->rli->save_temporary_tables != 0;
|
||||
}
|
||||
|
||||
bool THD::is_optimistic_slave_worker()
|
||||
{
|
||||
DBUG_ASSERT(system_thread != SYSTEM_THREAD_SLAVE_SQL || rgi_slave);
|
||||
|
||||
return system_thread == SYSTEM_THREAD_SLAVE_SQL && rgi_slave &&
|
||||
rgi_slave->speculation == rpl_group_info::SPECULATE_OPTIMISTIC;
|
||||
}
|
||||
|
||||
void
|
||||
wait_for_commit::reinit()
|
||||
|
Reference in New Issue
Block a user