23#ifndef XA_SQL_CMD_XA_END
24#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:37
Sql_cmd_xa_end(xid_t *xid_arg, enum xa_option_words xa_option)
Class constructor.
Definition: sql_xa_end.cc:30
virtual ~Sql_cmd_xa_end() override=default
xid_t * m_xid
The XID associated with the underlying XA transaction.
Definition: sql_xa_end.h:70
bool execute(THD *thd) override
Executes the SQL command.
Definition: sql_xa_end.cc:37
enum_sql_command sql_command_code() const override
Retrieves the SQL command code for this class, SQLCOM_XA_END.
Definition: sql_xa_end.cc:33
bool trans_xa_end(THD *thd)
Put a XA transaction in the IDLE state.
Definition: sql_xa_end.cc:45
enum xa_option_words m_xa_opt
Options associated with the underlying XA END
Definition: sql_xa_end.h:72
Representation of an SQL command.
Definition: sql_cmd.h:64
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:33
enum_sql_command
Definition: my_sqlcommand.h:45
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:82
xa_option_words
Definition: xa.h:52