MySQL 8.3.0
Source Code Documentation
Replication_transaction_boundary_parser Class Reference

This is the class for verifying transaction boundaries in a replication event stream. More...

#include <rpl_trx_boundary_parser.h>

Inheritance diagram for Replication_transaction_boundary_parser:

Public Member Functions

 Replication_transaction_boundary_parser (mysql::binlog::event::Transaction_boundary_parser::enum_trx_boundary_parser_context context)
 The constructor. More...
void log_server_warning (int error, const char *message) override
 Log warnings into the error log. More...
- Public Member Functions inherited from mysql::binlog::event::Transaction_boundary_parser
 Transaction_boundary_parser (enum_trx_boundary_parser_context context)
 Constructor. More...
virtual ~Transaction_boundary_parser ()
 Destructor. More...
void reset ()
 Reset the transaction boundary parser state. More...
bool is_inside_transaction ()
 State if the transaction boundary parser is inside a transaction. More...
bool is_not_inside_transaction ()
 State if the transaction boundary parser is not inside a transaction. More...
bool is_error ()
 State if the transaction boundary parser was fed with a sequence of events that the parser wasn't able to parse correctly. More...
bool feed_event (mysql::binlog::event::Log_event_basic_info log_event_info, bool throw_warnings)
 Feed the transaction boundary parser with a Log_event of any type in object type. More...
bool check_row_logging_constraints (mysql::binlog::event::Log_event_basic_info event_info)
 Evaluate given the current info about boundary type, event type and parser state if the given event violates any restriction associated to row based only modes. More...
void rollback ()
 Rolls back to the last parser state. More...

Additional Inherited Members

- Public Types inherited from mysql::binlog::event::Transaction_boundary_parser
enum  enum_trx_boundary_parser_context { TRX_BOUNDARY_PARSER_RECEIVER , TRX_BOUNDARY_PARSER_APPLIER }
 The context where the parser is used. More...
enum  enum_event_parser_error {
 Internal error indentifiers for parser issues. More...

Detailed Description

This is the class for verifying transaction boundaries in a replication event stream.

Constructor & Destructor Documentation

◆ Replication_transaction_boundary_parser()

Replication_transaction_boundary_parser::Replication_transaction_boundary_parser ( mysql::binlog::event::Transaction_boundary_parser::enum_trx_boundary_parser_context  context)

The constructor.

contextIf this parser is used on a receiver or applier context

Member Function Documentation

◆ log_server_warning()

void Replication_transaction_boundary_parser::log_server_warning ( int  error,
const char *  message 

Log warnings into the error log.

errorthe error number
messagethe error message

Reimplemented from mysql::binlog::event::Transaction_boundary_parser.

The documentation for this class was generated from the following files: