MySQL 8.0.39
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  binary_log::Query_event
 A Query_event is created for each query that modifies the database, unless the query is logged row-based. More...
 
class  binary_log::User_var_event
 Written every time a statement uses a user variable; precedes other events for the statement. More...
 
class  binary_log::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  binary_log::Rand_event
 Logs random seed used by the next RAND(), and by PASSWORD() in 4.1.0. More...
 

Namespaces

namespace  binary_log
 The namespace contains classes representing events that can occur in a replication stream.
 

Functions

template<class T >
binary_log::available_buffer (const char *buf_start, const char *buf_current, T buf_len)
 
template<class T >
bool binary_log::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 binary_log::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.