MySQL 9.1.0
Source Code Documentation
Transaction_ctx::THD_TRANS Struct Reference

#include <transaction_info.h>

Public Member Functions

bool cannot_safely_rollback () const
 
unsigned int get_unsafe_rollback_flags () const
 
void set_unsafe_rollback_flags (unsigned int flags)
 
void add_unsafe_rollback_flags (unsigned int flags)
 
void reset_unsafe_rollback_flags ()
 
void mark_modified_non_trans_table ()
 
bool has_modified_non_trans_table () const
 
void mark_created_temp_table ()
 
bool has_created_temp_table () const
 
void mark_dropped_temp_table ()
 
bool has_dropped_temp_table () const
 
void reset ()
 
bool is_empty () const
 

Public Attributes

bool m_no_2pc
 
int m_rw_ha_count
 
Ha_trx_infom_ha_list
 

Private Attributes

unsigned int m_unsafe_rollback_flags
 

Static Private Attributes

static unsigned int const MODIFIED_NON_TRANS_TABLE = 0x01
 
static unsigned int const CREATED_TEMP_TABLE = 0x02
 
static unsigned int const DROPPED_TEMP_TABLE = 0x04
 

Member Function Documentation

◆ add_unsafe_rollback_flags()

void Transaction_ctx::THD_TRANS::add_unsafe_rollback_flags ( unsigned int  flags)
inline

◆ cannot_safely_rollback()

bool Transaction_ctx::THD_TRANS::cannot_safely_rollback ( ) const
inline

◆ get_unsafe_rollback_flags()

unsigned int Transaction_ctx::THD_TRANS::get_unsafe_rollback_flags ( ) const
inline

◆ has_created_temp_table()

bool Transaction_ctx::THD_TRANS::has_created_temp_table ( ) const
inline

◆ has_dropped_temp_table()

bool Transaction_ctx::THD_TRANS::has_dropped_temp_table ( ) const
inline

◆ has_modified_non_trans_table()

bool Transaction_ctx::THD_TRANS::has_modified_non_trans_table ( ) const
inline

◆ is_empty()

bool Transaction_ctx::THD_TRANS::is_empty ( void  ) const
inline

◆ mark_created_temp_table()

void Transaction_ctx::THD_TRANS::mark_created_temp_table ( )
inline

◆ mark_dropped_temp_table()

void Transaction_ctx::THD_TRANS::mark_dropped_temp_table ( )
inline

◆ mark_modified_non_trans_table()

void Transaction_ctx::THD_TRANS::mark_modified_non_trans_table ( )
inline

◆ reset()

void Transaction_ctx::THD_TRANS::reset ( void  )
inline

◆ reset_unsafe_rollback_flags()

void Transaction_ctx::THD_TRANS::reset_unsafe_rollback_flags ( )
inline

◆ set_unsafe_rollback_flags()

void Transaction_ctx::THD_TRANS::set_unsafe_rollback_flags ( unsigned int  flags)
inline

Member Data Documentation

◆ CREATED_TEMP_TABLE

unsigned int const Transaction_ctx::THD_TRANS::CREATED_TEMP_TABLE = 0x02
staticprivate

◆ DROPPED_TEMP_TABLE

unsigned int const Transaction_ctx::THD_TRANS::DROPPED_TEMP_TABLE = 0x04
staticprivate

◆ m_ha_list

Ha_trx_info* Transaction_ctx::THD_TRANS::m_ha_list

◆ m_no_2pc

bool Transaction_ctx::THD_TRANS::m_no_2pc

◆ m_rw_ha_count

int Transaction_ctx::THD_TRANS::m_rw_ha_count

◆ m_unsafe_rollback_flags

unsigned int Transaction_ctx::THD_TRANS::m_unsafe_rollback_flags
private

◆ MODIFIED_NON_TRANS_TABLE

unsigned int const Transaction_ctx::THD_TRANS::MODIFIED_NON_TRANS_TABLE = 0x01
staticprivate

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