mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merging 5.0-bt -> 5.1-bt to local branch with bug@47210
This commit is contained in:
@ -2258,9 +2258,7 @@ static int exec_relay_log_event(THD* thd, Relay_log_info* rli)
|
||||
hits the UNTIL barrier.
|
||||
*/
|
||||
if (rli->until_condition != Relay_log_info::UNTIL_NONE &&
|
||||
rli->is_until_satisfied((rli->is_in_group() || !ev->log_pos) ?
|
||||
rli->group_master_log_pos :
|
||||
ev->log_pos - ev->data_written))
|
||||
rli->is_until_satisfied(thd, ev))
|
||||
{
|
||||
char buf[22];
|
||||
sql_print_information("Slave SQL thread stopped because it reached its"
|
||||
@ -3003,7 +3001,7 @@ log '%s' at position %s, relay log '%s' position: %s", RPL_LOG_NAME,
|
||||
*/
|
||||
pthread_mutex_lock(&rli->data_lock);
|
||||
if (rli->until_condition != Relay_log_info::UNTIL_NONE &&
|
||||
rli->is_until_satisfied(rli->group_master_log_pos))
|
||||
rli->is_until_satisfied(thd, NULL))
|
||||
{
|
||||
char buf[22];
|
||||
sql_print_information("Slave SQL thread stopped because it reached its"
|
||||
|
Reference in New Issue
Block a user