summaryrefslogtreecommitdiff
path: root/sql/rpl_utility.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/rpl_utility.cc')
-rw-r--r--sql/rpl_utility.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/rpl_utility.cc b/sql/rpl_utility.cc
index 6bbe998a624..cce8ef99fef 100644
--- a/sql/rpl_utility.cc
+++ b/sql/rpl_utility.cc
@@ -1143,9 +1143,10 @@ bool Deferred_log_events::is_empty()
return array.elements == 0;
}
-bool Deferred_log_events::execute(Relay_log_info *rli)
+bool Deferred_log_events::execute(struct rpl_group_info *rgi)
{
bool res= false;
+ Relay_log_info *rli= rgi->rli;
DBUG_ASSERT(rli->deferred_events_collecting);
@@ -1154,7 +1155,7 @@ bool Deferred_log_events::execute(Relay_log_info *rli)
{
Log_event *ev= (* (Log_event **)
dynamic_array_ptr(&array, i));
- res= ev->apply_event(rli);
+ res= ev->apply_event(rgi);
}
rli->deferred_events_collecting= true;
return res;