24#ifndef XA_SQL_CMD_XA_ROLLBACK
25#define XA_SQL_CMD_XA_ROLLBACK
This class represents the XA ROLLBACK ... SQL statement which rollbacks and terminates an XA transact...
Definition: sql_xa_rollback.h:39
virtual ~Sql_cmd_xa_rollback() override=default
Sql_cmd_xa_rollback(xid_t *xid_arg)
Class constructor.
Definition: sql_xa_rollback.cc:37
bool process_attached_xa_rollback(THD *thd) const
Handle the statement XA ROLLBACK for the case when xid corresponds to an XA transaction that is attac...
Definition: sql_xa_rollback.cc:73
enum_sql_command sql_command_code() const override
Retrieves the SQL command code for this class, SQLCOM_XA_ROLLBACK.
Definition: sql_xa_rollback.cc:40
bool trans_xa_rollback(THD *thd)
Roll back and terminate a XA transaction.
Definition: sql_xa_rollback.cc:62
bool execute(THD *thd) override
Executes the SQL command.
Definition: sql_xa_rollback.cc:44
bool process_detached_xa_rollback(THD *thd)
Handle the statement XA ROLLBACK for the case when xid corresponds to an XA transaction that is detac...
Definition: sql_xa_rollback.cc:126
This class abstracts some functionality used by XA statements involved in the second phase of the the...
Definition: sql_xa_second_phase.h:64
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
enum_sql_command
Definition: my_sqlcommand.h:46
Representation of an SQL command.
struct xid_t is binary compatible with the XID structure as in the X/Open CAE Specification,...
Definition: xa.h:83