mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 11:45:32 +02:00
merging 5.0-bt -> 5.1-bt to local branch with bug@47210
This commit is contained in:
commit
c00bfe59b3
5 changed files with 101 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue