![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
This class is the implementation of service mysql_before_commit_transaction_control. More...
#include <mysql_transaction_delegate_control_imp.h>
Static Public Member Functions | |
| static void | stop () noexcept | 
| Method rollback any transaction that reaches the commit stage.  More... | |
| static void | allow () noexcept | 
| Method re-allows the commit, earlier stopped in stop function.  More... | |
This class is the implementation of service mysql_before_commit_transaction_control.
      
  | 
  staticnoexcept | 
Method re-allows the commit, earlier stopped in stop function.
      
  | 
  staticnoexcept | 
Method rollback any transaction that reaches the commit stage.
Rollback the transactions that have passed the begin hook but have yet not reached the before_commit stage. There can be some transactions that are yet not known as binloggable, so the THD::KILL_CONNECTION is not set. This function sets a flag to rollback the transactions.