diff options
Diffstat (limited to 'sql/slave.h')
-rw-r--r-- | sql/slave.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/slave.h b/sql/slave.h index 36849c884e9..e6a5e86bb10 100644 --- a/sql/slave.h +++ b/sql/slave.h @@ -252,6 +252,15 @@ typedef struct st_master_info my_off_t master_log_pos; File fd; + + /* + InnoDB internally stores the master log position it has processed + so far; the position to store is really the sum of + pos + pending + event_len here since we must store the pos of the + END of the current log event +*/ + int event_len; + File fd; IO_CACHE file; /* the variables below are needed because we can change masters on the fly */ |