MySQL 8.0.39
Source Code Documentation
|
This is the class for verifying transaction boundaries in a replication event stream. More...
#include <rpl_trx_boundary_parser.h>
Public Member Functions | |
Replication_transaction_boundary_parser (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 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 (binary_log::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 (binary_log::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 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 { ER_TRX_BOUND_UNSUPPORTED_UNIGNORABLE_EVENT_IN_STREAM , ER_TRX_BOUND_GTID_LOG_EVENT_IN_STREAM , ER_TRX_BOUND_UNEXPECTED_BEGIN_IN_STREAM , ER_TRX_BOUND_UNEXPECTED_COMMIT_ROLLBACK_OR_XID_LOG_EVENT_IN_STREAM , ER_TRX_BOUND_UNEXPECTED_XA_ROLLBACK_IN_STREAM } |
Internal error indentifiers for parser issues. More... | |
This is the class for verifying transaction boundaries in a replication event stream.
|
inline |
The constructor.
context | If this parser is used on a receiver or applier context |
|
overridevirtual |
Log warnings into the error log.
error | the error number |
message | the error message |
Reimplemented from Transaction_boundary_parser.