MXS-2013 Remove skygw_chk_t
This commit is contained in:
@ -1151,11 +1151,6 @@ newSession(MXS_ROUTER *instance, MXS_SESSION *session)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if defined(SS_DEBUG)
|
||||
slave->rses_chk_top = CHK_NUM_ROUTER_SES;
|
||||
slave->rses_chk_tail = CHK_NUM_ROUTER_SES;
|
||||
#endif
|
||||
|
||||
memset(&slave->stats, 0, sizeof(SLAVE_STATS));
|
||||
atomic_add(&inst->stats.n_slaves, 1);
|
||||
slave->state = BLRS_CREATED; /* Set initial state of the slave */
|
||||
|
@ -496,9 +496,6 @@ typedef struct slave_encryption_ctx
|
||||
*/
|
||||
typedef struct router_slave
|
||||
{
|
||||
#if defined(SS_DEBUG)
|
||||
skygw_chk_t rses_chk_top;
|
||||
#endif
|
||||
DCB *dcb; /*< The slave server DCB */
|
||||
int state; /*< The state of this slave */
|
||||
uint32_t binlog_pos; /*< Binlog position for this slave */
|
||||
@ -550,9 +547,6 @@ typedef struct router_slave
|
||||
sqlite3 *gtid_maps; /*< GTID storage client handle, read only*/
|
||||
MARIADB_GTID_INFO f_info; /*< GTID info for file name prefix */
|
||||
bool annotate_rows; /*< MariaDB 10 Slave requests ANNOTATE_ROWS */
|
||||
#if defined(SS_DEBUG)
|
||||
skygw_chk_t rses_chk_tail;
|
||||
#endif
|
||||
} ROUTER_SLAVE;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user