24#ifndef RPL_TRANSACTION_CTX_H
25#define RPL_TRANSACTION_CTX_H
Server side support to provide a service to plugins to report if a given transaction should continue ...
Definition: rpl_transaction_ctx.h:36
Rpl_transaction_ctx()
Definition: rpl_transaction_ctx.cc:37
int set_rpl_transaction_ctx(Transaction_termination_ctx transaction_termination_ctx)
Definition: rpl_transaction_ctx.cc:52
virtual ~Rpl_transaction_ctx()=default
std::pair< rpl_sidno, rpl_gno > get_gtid_components() const
Transaction GTID components accessor.
Definition: rpl_transaction_ctx.cc:82
Transaction_termination_ctx m_transaction_ctx
Definition: rpl_transaction_ctx.h:93
bool is_transaction_rollback()
Get transaction outcome decision.
Definition: rpl_transaction_ctx.cc:67
int get_sidno() const
Get transaction sidno.
Definition: rpl_transaction_ctx.cc:72
rpl_gno get_gno() const
Get transaction gno.
Definition: rpl_transaction_ctx.cc:77
void cleanup()
Reset transaction context to default values.
Definition: rpl_transaction_ctx.cc:42
void set_sidno(rpl_sidno sidno)
Sets transaction sidno.
Definition: rpl_transaction_ctx.cc:87
mysql::gtid::gno_t rpl_gno
GNO, the second (numeric) component of a GTID, is an alias of mysql::gtid::gno_t.
Definition: rpl_gtid.h:112
cs::index::rpl_sidno rpl_sidno
Type of SIDNO (source ID number, first component of GTID)
Definition: rpl_gtid.h:108
This service provides a function for plugins to report if a transaction of a given THD should continu...
Definition: service_rpl_transaction_ctx.h:44