24#ifndef XA_SQL_CMD_XA_PREPARE
25#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:38
bool execute(THD *thd) override
Executes the SQL command.
Definition: sql_xa_prepare.cc:101
Sql_cmd_xa_prepare(xid_t *xid_arg)
Class constructor.
Definition: sql_xa_prepare.cc:95
xid_t * m_xid
The XID associated with the underlying XA transaction.
Definition: sql_xa_prepare.h:70
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:97
bool trans_xa_prepare(THD *thd)
Puts an XA transaction in the PREPARED state.
Definition: sql_xa_prepare.cc:113
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