MySQL 8.4.3
Source Code Documentation
rpl_constants.h File Reference

Go to the source code of this file.

Enumerations

enum  ExtraRowInfoFormat {
  ERIF_NDB = 0 , ERIF_LASTRESERVED = 63 , ERIF_OPEN1 = 64 , ERIF_OPEN2 = 65 ,
  ERIF_LASTOPEN = 254 , ERIF_MULTI = 255
}
 Enumeration of the reserved formats of Binlog extra row information. More...
 

Variables

const int BINLOG_POS_INFO_SIZE = 8
 
const int BINLOG_DATA_SIZE_INFO_SIZE = 4
 
const int BINLOG_POS_OLD_INFO_SIZE = 4
 
const int BINLOG_FLAGS_INFO_SIZE = 2
 
const int BINLOG_SERVER_ID_INFO_SIZE = 4
 
const int BINLOG_NAME_SIZE_INFO_SIZE = 4
 
const int BINLOG_DUMP_NON_BLOCK = 1 << 0
 If there is no more events to send send a ERR_Packet instead of blocking the connection. More...
 

Enumeration Type Documentation

◆ ExtraRowInfoFormat

Enumeration of the reserved formats of Binlog extra row information.

Enumerator
ERIF_NDB 

Ndb format.

ERIF_LASTRESERVED 

Reserved formats 0 -> 63 inclusive.

ERIF_OPEN1 

Available / uncontrolled formats 64 -> 254 inclusive.

ERIF_OPEN2 
ERIF_LASTOPEN 
ERIF_MULTI 

Multi-payload format 255.

Length is total length, payload is sequence of sub-payloads with their own headers containing length + format.

Variable Documentation

◆ BINLOG_DATA_SIZE_INFO_SIZE

const int BINLOG_DATA_SIZE_INFO_SIZE = 4

◆ BINLOG_DUMP_NON_BLOCK

const int BINLOG_DUMP_NON_BLOCK = 1 << 0

If there is no more events to send send a ERR_Packet instead of blocking the connection.

See also
COM_BINLOG_DUMP, COM_BINLOG_DUMP_GTID

◆ BINLOG_FLAGS_INFO_SIZE

const int BINLOG_FLAGS_INFO_SIZE = 2

◆ BINLOG_NAME_SIZE_INFO_SIZE

const int BINLOG_NAME_SIZE_INFO_SIZE = 4

◆ BINLOG_POS_INFO_SIZE

const int BINLOG_POS_INFO_SIZE = 8

◆ BINLOG_POS_OLD_INFO_SIZE

const int BINLOG_POS_OLD_INFO_SIZE = 4

◆ BINLOG_SERVER_ID_INFO_SIZE

const int BINLOG_SERVER_ID_INFO_SIZE = 4