24#ifndef XA_SQL_CMD_XA_START
25#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:38
enum xa_option_words m_xa_opt
Options associated with the underlying XA START
Definition: sql_xa_start.h:73
enum_sql_command sql_command_code() const override
Retrieves the SQL command code for this class, SQLCOM_XA_START.
Definition: sql_xa_start.cc:37
Sql_cmd_xa_start(xid_t *xid_arg, enum xa_option_words xa_option)
Class constructor.
Definition: sql_xa_start.cc:33
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:52
bool execute(THD *thd) override
Executes the SQL command.
Definition: sql_xa_start.cc:41
xid_t * m_xid
The XID associated with the underlying XA transaction.
Definition: sql_xa_start.h:71
Representation of an SQL command.
Definition: sql_cmd.h:65
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
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