MySQL 9.1.0
Source Code Documentation
control_events.h File Reference

Contains the classes representing events operating in the replication stream properties. More...

Go to the source code of this file.

Classes

class  mysql::binlog::event::Rotate_event
 When a binary log file exceeds a size limit, a ROTATE_EVENT is written at the end of the file that points to the next file in the sequence. More...
 
class  mysql::binlog::event::Format_description_event
 For binlog version 4. More...
 
class  mysql::binlog::event::Stop_event
 A stop event is written to the log files under these circumstances: More...
 
class  mysql::binlog::event::Incident_event
 Class representing an incident, an occurrence out of the ordinary, that happened on the master. More...
 
class  mysql::binlog::event::Xid_event
 An XID event is generated for a commit of a transaction that modifies one or more tables of an XA-capable storage engine. More...
 
class  mysql::binlog::event::XA_prepare_event
 An XA_prepare event is generated for a XA prepared transaction. More...
 
struct  mysql::binlog::event::XA_prepare_event::MY_XID
 
class  mysql::binlog::event::Ignorable_event
 Base class for ignorable log events. More...
 
struct  mysql::binlog::event::gtid_info
 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...
 
class  mysql::binlog::event::Transaction_payload_event
 Event that encloses all the events of a transaction. More...
 
class  mysql::binlog::event::Gtid_event
 GTID stands for Global Transaction IDentifier It is composed of two parts: More...
 
class  mysql::binlog::event::Previous_gtids_event
 
class  mysql::binlog::event::Transaction_context_event
 This class is used to combine the information of the ongoing transaction including the write set and other information of the thread executing the transaction. More...
 
class  mysql::binlog::event::View_change_event
 This class is used to add view change markers in the binary log when a member of the group enters or leaves the group. More...
 
class  mysql::binlog::event::Heartbeat_event_v2
 Replication event to ensure to replica that source is alive. More...
 
class  mysql::binlog::event::Heartbeat_event
 Replication event to ensure to replica that source is alive. More...
 

Namespaces

namespace  mysql
 
namespace  mysql::binlog
 
namespace  mysql::binlog::event
 The namespace contains classes representing events that can occur in a replication stream.
 

Detailed Description

Contains the classes representing events operating in the replication stream properties.

Each event is represented as a byte sequence with logical divisions as event header, event specific data and event footer. The header and footer are common to all the events and are represented as two different subclasses.