1
0
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:
Sergei Golubchik
2018-06-20 10:45:57 +02:00
parent 44682962e3
commit bb24663f5a
8 changed files with 18 additions and 38 deletions

View File

@ -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()