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:
		@ -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];
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user