Added a variable for current event being processed after a transaction is committed.

This commit is contained in:
Markus Makela
2015-10-23 12:33:51 +03:00
parent a8f866d372
commit 40ffe21dd8
5 changed files with 99 additions and 38 deletions

View File

@ -415,6 +415,8 @@ typedef struct router_instance {
* file being written
*/
uint64_t last_written; /*< Position of last event written */
uint64_t current_safe_event;
/*< Position of the latest safe eventbeing sent to slaves */
char prevbinlog[BINLOG_FNAMELEN+1];
int rotating; /*< Rotation in progress flag */
BLFILE *files; /*< Files used by the slaves */