My Project
|
#include <replication.h>
Public Attributes | |
uint32 | len |
int(* | after_commit )(Trans_param *param) |
int(* | after_rollback )(Trans_param *param) |
Observes and extends transaction execution
int(* Trans_observer::after_commit)(Trans_param *param) |
This callback is called after transaction commit
This callback is called right after commit to storage engines for transactional tables.
For non-transactional tables, this is called at the end of the statement, before sending statement status, if the statement succeeded.
param | The parameter for transaction observers |
0 | Sucess |
1 | Failure |
int(* Trans_observer::after_rollback)(Trans_param *param) |
This callback is called after transaction rollback
This callback is called right after rollback to storage engines for transactional tables.
For non-transactional tables, this is called at the end of the statement, before sending statement status, if the statement failed.
param | The parameter for transaction observers |
0 | Sucess |
1 | Failure |