MySQL 8.0.39
Source Code Documentation
mysql_transaction_delegate_control.h File Reference

Go to the source code of this file.

Classes

struct  s_mysql_mysql_new_transaction_control
 A service to manage transactions execution. More...
 
struct  s_mysql_mysql_before_commit_transaction_control
 A service to manage transactions execution. More...
 
struct  s_mysql_mysql_close_connection_of_binloggable_transaction_not_reached_commit
 This service will gracefully close all the client connections which are running a binloggable transaction that did not reach the commit stage. More...
 

Typedefs

typedef struct s_mysql_mysql_new_transaction_control mysql_service_mysql_new_transaction_control_t
 A service to manage transactions execution. More...
 
typedef struct s_mysql_mysql_before_commit_transaction_control mysql_service_mysql_before_commit_transaction_control_t
 A service to manage transactions execution. More...
 
typedef struct s_mysql_mysql_close_connection_of_binloggable_transaction_not_reached_commit mysql_service_mysql_close_connection_of_binloggable_transaction_not_reached_commit_t
 This service will gracefully close all the client connections which are running a binloggable transaction that did not reach the commit stage. More...
 

Typedef Documentation

◆ mysql_service_mysql_before_commit_transaction_control_t

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

◆ mysql_service_mysql_close_connection_of_binloggable_transaction_not_reached_commit_t

This service will gracefully close all the client connections which are running a binloggable transaction that did not reach the commit stage.

The term bingloggable transactions is used to identify transactions that will be written to the binary log once they do commit. At present when binlog cache is initialized by a transaction, the transaction is marked as bingloggable.

See also
mysql_close_connection_of_binloggable_transaction_not_reached_commit_imp

◆ mysql_service_mysql_new_transaction_control_t

A service to manage transactions execution.

The service will stop new incoming transactions to execute.

Note
Some management related queries are allowed.
See also
mysql_new_transaction_control_imp