MySQL 9.1.0
Source Code Documentation
Table_access_impl Class Reference

Public Member Functions

 Table_access_impl (THD *thd, size_t count)
 
 ~Table_access_impl ()
 
size_t add_table (const char *schema_name, size_t schema_name_length, const char *table_name, size_t table_name_length, enum thr_lock_type lock_type)
 
int begin ()
 
int commit ()
 
int rollback ()
 
TABLEget_table (size_t index)
 
bool binlog_get ()
 
void binlog_set (bool binlog)
 

Static Public Member Functions

static Table_access to_api (Table_access_impl *impl)
 
static Table_access_implfrom_api (Table_access api)
 

Private Attributes

Table_refm_table_array
 Array of size m_max_count. More...
 
Table_statem_table_state_array
 Array of size m_max_count. More...
 
size_t m_current_count
 
size_t m_max_count
 
bool m_write
 
bool m_in_tx
 
bool m_clear_mysys
 true if the mysys thread state needs cleanup More...
 
THDm_parent_thd
 
THDm_child_thd
 

Constructor & Destructor Documentation

◆ Table_access_impl()

Table_access_impl::Table_access_impl ( THD thd,
size_t  count 
)

◆ ~Table_access_impl()

Table_access_impl::~Table_access_impl ( )

Member Function Documentation

◆ add_table()

size_t Table_access_impl::add_table ( const char *  schema_name,
size_t  schema_name_length,
const char *  table_name,
size_t  table_name_length,
enum thr_lock_type  lock_type 
)

◆ begin()

int Table_access_impl::begin ( void  )

◆ binlog_get()

bool Table_access_impl::binlog_get ( )

◆ binlog_set()

void Table_access_impl::binlog_set ( bool  binlog)

◆ commit()

int Table_access_impl::commit ( )

◆ from_api()

static Table_access_impl * Table_access_impl::from_api ( Table_access  api)
inlinestatic

◆ get_table()

TABLE * Table_access_impl::get_table ( size_t  index)

◆ rollback()

int Table_access_impl::rollback ( )

◆ to_api()

static Table_access Table_access_impl::to_api ( Table_access_impl impl)
inlinestatic

Member Data Documentation

◆ m_child_thd

THD* Table_access_impl::m_child_thd
private

◆ m_clear_mysys

bool Table_access_impl::m_clear_mysys
private

true if the mysys thread state needs cleanup

◆ m_current_count

size_t Table_access_impl::m_current_count
private

◆ m_in_tx

bool Table_access_impl::m_in_tx
private

◆ m_max_count

size_t Table_access_impl::m_max_count
private

◆ m_parent_thd

THD* Table_access_impl::m_parent_thd
private

◆ m_table_array

Table_ref* Table_access_impl::m_table_array
private

Array of size m_max_count.

◆ m_table_state_array

Table_state* Table_access_impl::m_table_state_array
private

Array of size m_max_count.

◆ m_write

bool Table_access_impl::m_write
private

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