MySQL 8.0.40
Source Code Documentation
s_mysql_mysql_before_commit_transaction_control Struct Reference

A service to manage transactions execution. More...

#include <mysql_transaction_delegate_control.h>

Public Attributes

void(* stop )()
 This method rollback any transaction that reaches the commit stage. More...
 
void(* allow )()
 Method re-allows the commit, earlier stopped in stop function. More...
 

Detailed Description

A service to manage transactions execution.

This service rollbacks the transactions that reach the before_commit state. This service does not impact transactions that are already in the commit stage.

See also
mysql_before_commit_transaction_control_imp

Member Data Documentation

◆ allow

void(* s_mysql_mysql_before_commit_transaction_control::allow) ()

Method re-allows the commit, earlier stopped in stop function.

Note
Flag set in stop function to rollback the transactions in commit is unset.
See also
mysql_before_commit_transaction_control_imp

◆ stop

void(* s_mysql_mysql_before_commit_transaction_control::stop) ()

This method rollback any transaction that reaches the commit stage.

See also
mysql_before_commit_transaction_control_imp

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