MySQL 8.4.2
Source Code Documentation
statement_events.h File Reference

Contains the classes representing statement events occurring in the replication stream. More...

Go to the source code of this file.

Classes

class  mysql::binlog::event::Query_event
 A Query_event is created for each query that modifies the database, unless the query is logged row-based. More...
 
class  mysql::binlog::event::User_var_event
 Written every time a statement uses a user variable; precedes other events for the statement. More...
 
class  mysql::binlog::event::Intvar_event
 An Intvar_event will be created just before a Query_event, if the query uses one of the variables LAST_INSERT_ID or INSERT_ID. More...
 
class  mysql::binlog::event::Rand_event
 Logs random seed used by the next RAND(), and by PASSWORD() in 4.1.0. More...
 

Namespaces

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

Functions

template<class T >
mysql::binlog::event::available_buffer (const char *buf_start, const char *buf_current, T buf_len)
 
template<class T >
bool mysql::binlog::event::valid_buffer_range (T jump, const char *buf_start, const char *buf_current, T buf_len)
 Check if jump value is within buffer limits. More...
 

Variables

const uint64_t mysql::binlog::event::INVALID_XID = 0xffffffffffffffffULL
 The following constant represents the maximum of MYSQL_XID domain. More...
 

Detailed Description

Contains the classes representing statement events occurring in the replication stream.

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.