MySQL 8.3.0
Source Code Documentation
anonymous_namespace{tc_log.cc} Namespace Reference

Functions

bool commit_one_ht (THD *thd, plugin_ref plugin, void *arg)
 Invokes the handler interface for the storage engine, the handler::commit_by_xid function. More...
 
bool rollback_one_ht (THD *thd, plugin_ref plugin, void *arg)
 Invokes the handler interface for the storage engine, the handler::rollback_by_xid function. More...
 
int set_prepared_in_tc_one_ht (THD *thd, handlerton *ht)
 Invokes the handler interface for the storage engine, the handler::prepared_in_tc function. More...
 

Function Documentation

◆ commit_one_ht()

bool anonymous_namespace{tc_log.cc}::commit_one_ht ( THD thd,
plugin_ref  plugin,
void *  arg 
)

Invokes the handler interface for the storage engine, the handler::commit_by_xid function.

Parameters
thdThe THD session object within which the command is being executed.
pluginThe plugin_ref object associated with the given storage engine.
argThe XID of the transaction being committed.
Returns
operation result
Return values
falseSuccess
trueFailure

◆ rollback_one_ht()

bool anonymous_namespace{tc_log.cc}::rollback_one_ht ( THD thd,
plugin_ref  plugin,
void *  arg 
)

Invokes the handler interface for the storage engine, the handler::rollback_by_xid function.

Parameters
thdThe THD session object within which the command is being executed.
pluginThe plugin_ref object associated with the given storage engine.
argThe XID of the transaction being relled back.
Returns
operation result
Return values
falseSuccess
trueFailure

◆ set_prepared_in_tc_one_ht()

int anonymous_namespace{tc_log.cc}::set_prepared_in_tc_one_ht ( THD thd,
handlerton ht 
)

Invokes the handler interface for the storage engine, the handler::prepared_in_tc function.

Parameters
thdThe THD session object within which the command is being executed.
htThe pointer to the target SE plugin.