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
This commit is contained in:
MassimilianoPinto 2015-12-30 16:03:30 +01:00
parent 82914d43d2
commit 23809af02e

View File

@ -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];