23#ifndef XA_SQL_CMD_XA_PREPARE
24#define XA_SQL_CMD_XA_PREPARE
This class represents the XA PREPARE ... SQL statement which puts in the PREPARED state an XA transac...
Definition: sql_xa_prepare.h:37
bool execute(THD *thd) override
Executes the SQL command.
Definition: sql_xa_prepare.cc:100
Sql_cmd_xa_prepare(xid_t *xid_arg)
Class constructor.
Definition: sql_xa_prepare.cc:94
xid_t * m_xid
The XID associated with the underlying XA transaction.
Definition: sql_xa_prepare.h:69
virtual ~Sql_cmd_xa_prepare() override=default
enum_sql_command sql_command_code() const override
Retrieves the SQL command code for this class, SQLCOM_XA_PREPARE.
Definition: sql_xa_prepare.cc:96
bool trans_xa_prepare(THD *thd)
Puts an XA transaction in the PREPARED state.
Definition: sql_xa_prepare.cc:112
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