MySQL 8.4.3
Source Code Documentation
anonymous_namespace{binlog.cc} Namespace Reference

Classes

class  Row_data_memory
 Class to handle temporary allocation of memory for row data. More...
 

Functions

void finish_transaction_in_engines (THD *thd, bool all, bool run_after_commit)
 Finishes the transaction in the engines. More...
 

Function Documentation

◆ finish_transaction_in_engines()

void anonymous_namespace{binlog.cc}::finish_transaction_in_engines ( THD thd,
bool  all,
bool  run_after_commit 
)

Finishes the transaction in the engines.

If the commit_low flag is set, will commit in the engines, otherwise, if the underlying statement is an XA ROLLBACK, it will rollback in the engines.

Parameters
thdThe THD session object holding the transaction to finalize.
allFinalizing a transaction (i.e. true) or a statement (i.e. false).
run_after_commitIn the case of a commit being issued, whether or not to run the after_commit hook.