Drizzled Public API Documentation

drizzled::session::Transactions Class Reference

#include <transactions.h>

List of all members.

Public Member Functions

void cleanup ()

Public Attributes

std::deque< NamedSavepointsavepoints
TransactionContext all
TransactionContext stmt
XID_STATE xid_state

Detailed Description

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 38 of file transactions.h.


Member Data Documentation

TransactionContext drizzled::session::Transactions::all

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.

Note:
In autocommit mode, this is empty.

Definition at line 52 of file transactions.h.

Referenced by drizzled::TransactionServices::commitPhaseOne(), drizzled::TransactionServices::commitTransaction(), drizzled::delete_query(), drizzled::insert_query(), drizzled::TransactionServices::registerResourceForTransaction(), drizzled::TransactionServices::setSavepoint(), thd_has_edited_nontrans_tables(), and drizzled::update_query().

TransactionContext drizzled::session::Transactions::stmt

The documentation for this class was generated from the following file: