MySQL 8.4.0
Source Code Documentation
mysql::binlog::event::gtid_info Struct Reference

Structure to hold the members declared in the class Gtid_log_event those member are objects of classes defined in server(rpl_gtid.h). More...

#include <control_events.h>

Public Attributes

int32_t rpl_gtid_sidno
 
int64_t rpl_gtid_gno
 

Detailed Description

Structure to hold the members declared in the class Gtid_log_event those member are objects of classes defined in server(rpl_gtid.h).

As we can not move all the classes defined there(in rpl_gtid.h) in libbinlogevents so this structure was created, to provide a way to map the decoded value in Gtid_event ctor and the class members defined in rpl_gtid.h, these classes are also the members of Gtid_log_event(subclass of this in server code)

The structure contains the following components.

Structure gtid_info
Name Format Description
rpl_gtid_sidno 4 bytes integer SIDNO (source ID number, first component of GTID)
rpl_gtid_gno 8 bytes integer GNO (group number, second component of GTID)

Member Data Documentation

◆ rpl_gtid_gno

int64_t mysql::binlog::event::gtid_info::rpl_gtid_gno

◆ rpl_gtid_sidno

int32_t mysql::binlog::event::gtid_info::rpl_gtid_sidno

The documentation for this struct was generated from the following file: