First fix for 16MB handling in the master part

First fix for 16MB handling in the master part.

Distribute events to up to date slave is not included yet
This commit is contained in:
MassimilianoPinto
2016-02-08 14:52:50 +01:00
committed by Markus Makela
parent ab1fb90d86
commit d3e1d4dd2f
2 changed files with 157 additions and 72 deletions

View File

@ -415,6 +415,7 @@ typedef struct router_instance {
SPINLOCK binlog_lock; /*< Lock to control update of the binlog position */
int trx_safe; /*< Detect and handle partial transactions */
int pending_transaction; /*< Pending transaction */
int pending_16mb; /*< Pending larger than 16mb transmission */
uint64_t last_safe_pos; /* last committed transaction */
char binlog_name[BINLOG_FNAMELEN+1];
/*< Name of the current binlog file */