From 901dfd23c0b78739d556e099c28c998e47abde87 Mon Sep 17 00:00:00 2001 From: MassimilianoPinto Date: Wed, 30 Dec 2015 16:03:30 +0100 Subject: [PATCH] Changed burst_size to long instead of unsigned long Changed burst_size to long instead of unsigned long. This way check burst_size > 0 is now effective. Setting "burstsize" option in router_options may be required. i.e.: burstsize=10M --- server/modules/routing/binlog/blr_slave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/routing/binlog/blr_slave.c b/server/modules/routing/binlog/blr_slave.c index c799d6071..8908672b7 100644 --- a/server/modules/routing/binlog/blr_slave.c +++ b/server/modules/routing/binlog/blr_slave.c @@ -1895,7 +1895,7 @@ GWBUF *head, *record; REP_HEADER hdr; int written, rval = 1, burst; int rotating = 0; -unsigned long burst_size; +long burst_size; uint8_t *ptr; char read_errmsg[BINLOG_ERROR_MSG_LEN+1];