#include <transactions.h>
Public Member Functions | |
void | cleanup () |
Public Attributes | |
std::deque< NamedSavepoint > | savepoints |
TransactionContext | all |
TransactionContext | stmt |
XID_STATE | xid_state |
Structure used to manage "statement transactions" and "normal transactions". In autocommit mode, the normal transaction is equivalent to the statement transaction.
Storage engines will be registered here when they participate in a transaction. No engine is registered more than once.
Definition at line 40 of file transactions.h.
The normal transaction (since BEGIN WORK).
Contains a list of all engines that have participated in any of the statement transactions started within the context of the normal transaction.
Definition at line 54 of file transactions.h.
Referenced by drizzled::TransactionServices::commitPhaseOne(), drizzled::TransactionServices::commitTransaction(), drizzled::delete_query(), drizzled::TransactionServices::registerResourceForTransaction(), drizzled::TransactionServices::setSavepoint(), thd_has_edited_nontrans_tables(), and drizzled::update_query().
The statment transaction.
Contains a list of all engines participating in the given statement.
Definition at line 64 of file transactions.h.
Referenced by drizzled::TransactionServices::autocommitOrRollback(), drizzled::Session::close_thread_tables(), drizzled::TransactionServices::commitPhaseOne(), drizzled::TransactionServices::commitTransaction(), drizzled::delete_query(), drizzled::dispatch_command(), drizzled::execute_command(), drizzled::TransactionServices::registerResourceForStatement(), and drizzled::update_query().