Some tidy up of binlog rotuer code

This commit is contained in:
Mark Riddoch
2015-02-06 20:46:36 +00:00
parent e91ad034a8
commit 6da16c9958
3 changed files with 12 additions and 8 deletions

View File

@ -1300,7 +1300,7 @@ int action;
memcpy(buf, ptr, hdr->event_size);
if (hdr->event_type == ROTATE_EVENT)
{
blr_slave_rotate(slave, ptr);
blr_slave_rotate(router, slave, ptr);
}
slave->stats.n_bytes += gwbuf_length(pkt);
slave->dcb->func.write(slave->dcb, pkt);