Commit a8826b77 authored by unknown's avatar unknown

sql/slave.cc

    fixed skipping bug in bi-directional replication


sql/slave.cc:
  fixed skipping bug in bi-directional replication
parent 7e770c2e
......@@ -849,6 +849,7 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len)
mi->inc_pos(event_len);
flush_master_info(mi);
if(slave_skip_counter)
--slave_skip_counter;
delete ev;
return 0; // avoid infinite update loops
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment