MySQL 26.7.0
Source Code Documentation
transaction_info.h File Reference
#include <stddef.h>
#include <sys/types.h>
#include "my_alloc.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "sql/engine_combination_tracker.h"
#include "sql/mdl.h"
#include "sql/rpl_transaction_ctx.h"
#include "sql/rpl_transaction_write_set_ctx.h"
#include "sql/xa.h"
#include "strmake.h"

Go to the source code of this file.

Classes

struct  SAVEPOINT
 
class  Transaction_ctx
 
struct  Transaction_ctx::THD_TRANS
 
class  Ha_trx_info
 Either statement transaction or normal transaction - related thread-specific storage engine data. More...
 
class  Ha_trx_info_list
 Container to hold and allow iteration over a set of Ha_trx_info objects. More...
 
class  Ha_trx_info_list::Iterator
 Implements a forward iterator for Ha_trx_info_list. More...
 

Enumerations

enum class  Transaction_prepared { NO = 0 , YES = 1 , NO_2PC = 2 }
 Has the transaction been prepared while logging to binary log. More...
 
enum class  Transaction_flushed { NO = 0 , YES = 1 , UNSET = 2 }
 

Enumeration Type Documentation

◆ Transaction_flushed

enum class Transaction_flushed
strong
Enumerator
NO 
YES 
UNSET 

◆ Transaction_prepared

enum class Transaction_prepared
strong

Has the transaction been prepared while logging to binary log.

NO, YES - Transaction is 2PC commited between binlog and storage engine. YES - prepare was invoked and prepare is used NO - prepare was invoked and preprare is not used as transaction is not persisted NO_2PC - Transaction is not 2PC between binary log and storage engine, prepare is not invoked

Enumerator
NO 
YES 
NO_2PC