24#ifndef XA_SQL_CMD_XA_COMMIT 
   25#define XA_SQL_CMD_XA_COMMIT 
This class represents the XA COMMIT ... SQL statement which commits and terminates an XA transaction ...
Definition: sql_xa_commit.h:39
 
bool process_attached_xa_commit(THD *thd) const
Handle the statement XA COMMIT for the case when xid corresponds to an XA transaction that is attache...
Definition: sql_xa_commit.cc:94
 
bool trans_xa_commit(THD *thd)
Commit and terminate a XA transaction.
Definition: sql_xa_commit.cc:79
 
Sql_cmd_xa_commit(xid_t *xid_arg, enum xa_option_words xa_option)
Class constructor.
Definition: sql_xa_commit.cc:53
 
virtual ~Sql_cmd_xa_commit() override=default
 
enum_sql_command sql_command_code() const override
Retrieves the SQL command code for this class, SQLCOM_XA_COMMIT.
Definition: sql_xa_commit.cc:57
 
enum xa_option_words get_xa_opt() const
Retrieves this XA COMMIT extra options.
Definition: sql_xa_commit.cc:61
 
enum xa_option_words m_xa_opt
Options associated with the underlying XA COMMIT
Definition: sql_xa_commit.h:78
 
bool execute(THD *thd) override
Executes the SQL command.
Definition: sql_xa_commit.cc:63
 
bool process_detached_xa_commit(THD *thd)
Handle the statement XA COMMIT for the case when xid corresponds to an XA transaction that is detache...
Definition: sql_xa_commit.cc:189
 
This class abstracts some functionality used by XA statements involved in the second phase of the the...
Definition: sql_xa_second_phase.h:64
 
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