summaryrefslogtreecommitdiff
path: root/sql/rpl_rli.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/rpl_rli.cc')
-rw-r--r--sql/rpl_rli.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/rpl_rli.cc b/sql/rpl_rli.cc
index b558f2db64c..e0fd8caa90e 100644
--- a/sql/rpl_rli.cc
+++ b/sql/rpl_rli.cc
@@ -902,8 +902,9 @@ void Relay_log_info::inc_group_relay_log_pos(ulonglong log_pos,
{
strcpy(group_master_log_name, rgi->future_event_master_log_name);
notify_group_master_log_name_update();
+ group_master_log_pos= log_pos;
}
- if (group_master_log_pos < log_pos)
+ else if (group_master_log_pos < log_pos)
group_master_log_pos= log_pos;
}
}