MXS-1530: check ANNOTATE_ROWS flag in connecting slave
MXS-1530: check ANNOTATE_ROWS flag in connecting slave. In MariaDB 10.2.4 replicate_annotate_row_events and binlog_annotate_row_events have default to ON: this change checks whether the connecting slave is not has ANNOTATE_ROWS in blr_slave_binlog_dump(), those ANNOTATE_ROWS events can be sent or not to the slave.
This commit is contained in:
@ -440,6 +440,7 @@ typedef struct router_slave
|
||||
char lsi_binlog_name[BINLOG_FNAMELEN + 1]; /*< Which binlog file */
|
||||
uint32_t lsi_binlog_pos; /*< What position */
|
||||
void *encryption_ctx; /*< Encryption context */
|
||||
bool annotate_rows; /*< MariaDB 10 Slave requests ANNOTATE_ROWS */
|
||||
#if defined(SS_DEBUG)
|
||||
skygw_chk_t rses_chk_tail;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user