24#ifndef XA_SQL_CMD_XA_END
25#define XA_SQL_CMD_XA_END
This class represents the XA END ... SQL statement which puts in the IDLE state an XA transaction wit...
Definition: sql_xa_end.h:38
Sql_cmd_xa_end(xid_t *xid_arg, enum xa_option_words xa_option)
Class constructor.
Definition: sql_xa_end.cc:31
virtual ~Sql_cmd_xa_end() override=default
xid_t * m_xid
The XID associated with the underlying XA transaction.
Definition: sql_xa_end.h:71
bool execute(THD *thd) override
Executes the SQL command.
Definition: sql_xa_end.cc:38
enum_sql_command sql_command_code() const override
Retrieves the SQL command code for this class, SQLCOM_XA_END.
Definition: sql_xa_end.cc:34
bool trans_xa_end(THD *thd)
Put a XA transaction in the IDLE state.
Definition: sql_xa_end.cc:46
enum xa_option_words m_xa_opt
Options associated with the underlying XA END
Definition: sql_xa_end.h:73
Representation of an SQL command.
Definition: sql_cmd.h:83
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
xa_option_words
Definition: xa.h:53