The namespace contains classes representing events that can occur in a replication stream.
More...
|
class | Append_block_event |
| This event is created to contain the file data. More...
|
|
class | Begin_load_query_event |
| Event for the first block of file to be loaded, its only difference from Append_block event is that this event creates or truncates existing file before writing data. More...
|
|
class | Binary_log_event |
| This is the abstract base class for binary log events. More...
|
|
class | Delete_file_event |
| DELETE_FILE_EVENT occurs when the LOAD DATA failed on the master. More...
|
|
class | Delete_rows_event |
| Log row deletions. More...
|
|
class | Event_reader |
| Event_reader class purpose is to avoid out-of-buffer reads when deserializing binary log events and increase robustness when dealing with corrupted event buffers. More...
|
|
class | Execute_load_query_event |
| Event responsible for LOAD DATA execution, it similar to Query_event but before executing the query it substitutes original filename in LOAD DATA query with name of temporary file. More...
|
|
class | Format_description_event |
| For binlog version 4. More...
|
|
class | Gtid_event |
| GTID stands for Global Transaction IDentifier It is composed of two parts: More...
|
|
struct | 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...
|
|
struct | Hash_Uuid |
|
class | Heartbeat_event |
| Replication event to ensure to replica that source is alive. More...
|
|
class | Heartbeat_event_v2 |
| Replication event to ensure to replica that source is alive. More...
|
|
class | Ignorable_event |
| Base class for ignorable log events. More...
|
|
class | Incident_event |
| Class representing an incident, an occurrence out of the ordinary, that happened on the master. More...
|
|
class | 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...
|
|
struct | Log_event_basic_info |
| Struct to pass basic information about a event: type, query, is it ignorable. More...
|
|
class | Log_event_footer |
| The footer, in the current version of the MySQL server, only contains the checksum algorithm descriptor. More...
|
|
class | Log_event_header |
| The Common-Header always has the same form and length within one version of MySQL. More...
|
|
struct | Log_event_type_helper |
| Event type helpers, enclosed in the structure. More...
|
|
class | Previous_gtids_event |
|
class | Query_event |
| A Query_event is created for each query that modifies the database, unless the query is logged row-based. More...
|
|
class | Rand_event |
| Logs random seed used by the next RAND(), and by PASSWORD() in 4.1.0. More...
|
|
class | 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 | Rows_event |
| Common base class for all row-containing binary log events. More...
|
|
class | Rows_query_event |
| Rows query event type, which is a subclass of the Ignorable_event, to record the original query for the rows events in RBR. More...
|
|
class | Stop_event |
| A stop event is written to the log files under these circumstances: More...
|
|
class | Table_map_event |
| In row-based mode, every row operation event is preceded by a Table_map_event which maps a table definition to a number. More...
|
|
class | 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 | Transaction_payload_event |
| Event that encloses all the events of a transaction. More...
|
|
class | Unknown_event |
| An unknown event should never occur. More...
|
|
class | Update_rows_event |
| Log row updates with a before image. More...
|
|
class | User_var_event |
| Written every time a statement uses a user variable; precedes other events for the statement. More...
|
|
struct | Uuid |
| This is a POD. More...
|
|
class | 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 | Write_rows_event |
| Log row insertions. More...
|
|
class | XA_prepare_event |
| An XA_prepare event is generated for a XA prepared transaction. More...
|
|
class | 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...
|
|
|
enum | Log_event_type {
UNKNOWN_EVENT = 0
, START_EVENT_V3 = 1
, QUERY_EVENT = 2
, STOP_EVENT = 3
,
ROTATE_EVENT = 4
, INTVAR_EVENT = 5
, SLAVE_EVENT = 7
, APPEND_BLOCK_EVENT = 9
,
DELETE_FILE_EVENT = 11
, RAND_EVENT = 13
, USER_VAR_EVENT = 14
, FORMAT_DESCRIPTION_EVENT = 15
,
XID_EVENT = 16
, BEGIN_LOAD_QUERY_EVENT = 17
, EXECUTE_LOAD_QUERY_EVENT = 18
, TABLE_MAP_EVENT = 19
,
WRITE_ROWS_EVENT_V1 = 23
, UPDATE_ROWS_EVENT_V1 = 24
, DELETE_ROWS_EVENT_V1 = 25
, INCIDENT_EVENT = 26
,
HEARTBEAT_LOG_EVENT = 27
, IGNORABLE_LOG_EVENT = 28
, ROWS_QUERY_LOG_EVENT = 29
, WRITE_ROWS_EVENT = 30
,
UPDATE_ROWS_EVENT = 31
, DELETE_ROWS_EVENT = 32
, GTID_LOG_EVENT = 33
, ANONYMOUS_GTID_LOG_EVENT = 34
,
PREVIOUS_GTIDS_LOG_EVENT = 35
, TRANSACTION_CONTEXT_EVENT = 36
, VIEW_CHANGE_EVENT = 37
, XA_PREPARE_LOG_EVENT = 38
,
PARTIAL_UPDATE_ROWS_EVENT = 39
, TRANSACTION_PAYLOAD_EVENT = 40
, HEARTBEAT_LOG_EVENT_V2 = 41
, ENUM_END_EVENT
} |
| Enumeration type for the different types of log events. More...
|
|
enum | enum_binlog_checksum_alg { BINLOG_CHECKSUM_ALG_OFF = 0
, BINLOG_CHECKSUM_ALG_CRC32 = 1
, BINLOG_CHECKSUM_ALG_ENUM_END
, BINLOG_CHECKSUM_ALG_UNDEF = 255
} |
| Enumeration spcifying checksum algorithm used to encode a binary log event. More...
|
|
enum | enum_load_dup_handling { LOAD_DUP_ERROR = 0
, LOAD_DUP_IGNORE
, LOAD_DUP_REPLACE
} |
| Elements of this enum describe how LOAD DATA handles duplicates. More...
|
|
|
uint32_t | checksum_crc32 (uint32_t crc, const unsigned char *pos, size_t length) |
| Calculate a long checksum for a memoryblock. More...
|
|
template<class T > |
T | available_buffer (const char *buf_start, const char *buf_current, T buf_len) |
|
template<class T > |
bool | 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...
|
|
bool | operator== (const Uuid &a, const Uuid &b) |
|
static void | parse_signedness (std::vector< bool > &vec, Event_reader &reader_obj, unsigned int length) |
| Parses SIGNEDNESS field. More...
|
|
static void | parse_default_charset (Table_map_event::Optional_metadata_fields::Default_charset &default_charset, Event_reader &reader_obj, unsigned int length) |
| Parses DEFAULT_CHARSET field. More...
|
|
static void | parse_column_charset (std::vector< unsigned int > &vec, Event_reader &reader_obj, unsigned int length) |
| Parses COLUMN_CHARSET field. More...
|
|
static void | parse_column_name (std::vector< std::string > &vec, Event_reader &reader_obj, unsigned int length) |
| Parses COLUMN_NAME field. More...
|
|
static void | parse_set_str_value (std::vector< Table_map_event::Optional_metadata_fields::str_vector > &vec, Event_reader &reader_obj, unsigned int length) |
| Parses SET_STR_VALUE/ENUM_STR_VALUE field. More...
|
|
static void | parse_geometry_type (std::vector< unsigned int > &vec, Event_reader &reader_obj, unsigned int length) |
| Parses GEOMETRY_TYPE field. More...
|
|
static void | parse_simple_pk (std::vector< Table_map_event::Optional_metadata_fields::uint_pair > &vec, Event_reader &reader_obj, unsigned int length) |
| Parses SIMPLE_PRIMARY_KEY field. More...
|
|
static void | parse_pk_with_prefix (std::vector< Table_map_event::Optional_metadata_fields::uint_pair > &vec, Event_reader &reader_obj, unsigned int length) |
| Parses PRIMARY_KEY_WITH_PREFIX field. More...
|
|
static void | parse_column_visibility (std::vector< bool > *vec, Event_reader &reader_obj, unsigned int length) |
| Parses column visibility attribute. More...
|
|
static void | copy_str_and_move (Log_event_header::Byte **dst, const char **src, size_t len) |
| Utility function for the Query_event constructor. More...
|
|
The namespace contains classes representing events that can occur in a replication stream.