My Project
|
Public Member Functions | |
int | open (const char *opt_name) |
void | close () |
enum_result | commit (THD *thd, bool all) |
int | rollback (THD *thd, bool all) |
int | prepare (THD *thd, bool all) |
enum_result TC_LOG_DUMMY::commit | ( | THD * | thd, |
bool | all | ||
) | [inline, virtual] |
Log a commit record of the transaction to the transaction coordinator log.
When the function returns, the transaction commit is properly logged to the transaction coordinator log and can be committed in the storage engines.
thd | Session to log transaction for. |
all | True if this is a "real" commit, false if it is a "statement" commit. |
Implements TC_LOG.
int TC_LOG_DUMMY::prepare | ( | THD * | thd, |
bool | all | ||
) | [inline, virtual] |
Log a prepare record of the transaction to the storage engines.
thd | Session to log transaction record for. |
all | true if an explicit commit or an implicit commit for a statement, false if an internal commit of the statement. |
Implements TC_LOG.
int TC_LOG_DUMMY::rollback | ( | THD * | thd, |
bool | all | ||
) | [inline, virtual] |
Log a rollback record of the transaction to the transaction coordinator log.
When the function returns, the transaction have been aborted in the transaction coordinator log.
thd | Session to log transaction record for. |
all | true if an explicit commit or an implicit commit for a statement, false if an internal commit of the statement. |
Implements TC_LOG.