23#ifndef XA_SQL_CMD_XA_START
24#define XA_SQL_CMD_XA_START
This class represents the XA START ... SQL statement which starts an XA transaction with the given xi...
Definition: sql_xa_start.h:37
enum xa_option_words m_xa_opt
Options associated with the underlying XA START
Definition: sql_xa_start.h:72
enum_sql_command sql_command_code() const override
Retrieves the SQL command code for this class, SQLCOM_XA_START.
Definition: sql_xa_start.cc:36
Sql_cmd_xa_start(xid_t *xid_arg, enum xa_option_words xa_option)
Class constructor.
Definition: sql_xa_start.cc:32
virtual ~Sql_cmd_xa_start() override=default
bool trans_xa_start(THD *thd)
Start a XA transaction with the given xid value.
Definition: sql_xa_start.cc:51
bool execute(THD *thd) override
Executes the SQL command.
Definition: sql_xa_start.cc:40
xid_t * m_xid
The XID associated with the underlying XA transaction.
Definition: sql_xa_start.h:70
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