17 #ifndef RPL_CONSTANTS_H
18 #define RPL_CONSTANTS_H
20 #include "my_global.h"
30 INCIDENT_LOST_EVENTS = 1,
41 const int BINLOG_POS_INFO_SIZE= 8;
42 const int BINLOG_DATA_SIZE_INFO_SIZE= 4;
43 const int BINLOG_POS_OLD_INFO_SIZE= 4;
44 const int BINLOG_FLAGS_INFO_SIZE= 2;
45 const int BINLOG_SERVER_ID_INFO_SIZE= 4;
46 const int BINLOG_NAME_SIZE_INFO_SIZE= 4;
51 enum ExtraRowInfoFormat {
56 ERIF_LASTRESERVED = 63,
82 #define EXTRA_ROW_INFO_LEN_OFFSET 0
83 #define EXTRA_ROW_INFO_FORMAT_OFFSET 1
84 #define EXTRA_ROW_INFO_HDR_BYTES 2
85 #define EXTRA_ROW_INFO_MAX_PAYLOAD (255 - EXTRA_ROW_INFO_HDR_BYTES)