From e3c8979ee1d0119175bad74708a262907d6c298d Mon Sep 17 00:00:00 2001 From: Mark Riddoch Date: Mon, 9 Feb 2015 13:19:51 +0000 Subject: [PATCH] Fix for missing statistics increment --- server/modules/routing/binlog/blr_master.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/modules/routing/binlog/blr_master.c b/server/modules/routing/binlog/blr_master.c index 3ce019558..39eb9ef8e 100644 --- a/server/modules/routing/binlog/blr_master.c +++ b/server/modules/routing/binlog/blr_master.c @@ -1263,6 +1263,7 @@ int action; blr_slave_rotate(slave, ptr); } slave->stats.n_bytes += gwbuf_length(pkt); + slave->stats.n_events++; slave->dcb->func.write(slave->dcb, pkt); if (hdr->event_type != ROTATE_EVENT) {