MySQL 9.1.0
Source Code Documentation
innodb_session_t Class Reference

#include <sess0sess.h>

Public Member Functions

 innodb_session_t ()
 Constructor. More...
 
 ~innodb_session_t ()
 Destructor. More...
 
void register_table_handler (const char *table_name, dict_table_t *table)
 Cache table handler. More...
 
dict_table_tlookup_table_handler (const char *table_name)
 Lookup for table handler given table_name. More...
 
void unregister_table_handler (const char *table_name)
 Remove table handler entry. More...
 
uint count_register_table_handler () const
 Count of register table handler. More...
 
ibt::Tablespaceget_usr_temp_tblsp ()
 
ibt::Tablespaceget_instrinsic_temp_tblsp ()
 

Public Attributes

trx_tm_trx
 transaction handler. More...
 
table_cache_t m_open_tables
 Handler of tables that are created or open but not added to InnoDB dictionary as they are session specific. More...
 

Private Attributes

ibt::Tablespacem_usr_temp_tblsp
 Current session's user temp tablespace. More...
 
ibt::Tablespacem_intrinsic_temp_tblsp
 Current session's optimizer temp tablespace. More...
 

Constructor & Destructor Documentation

◆ innodb_session_t()

innodb_session_t::innodb_session_t ( )
inline

Constructor.

◆ ~innodb_session_t()

innodb_session_t::~innodb_session_t ( )
inline

Destructor.

Member Function Documentation

◆ count_register_table_handler()

uint innodb_session_t::count_register_table_handler ( ) const
inline

Count of register table handler.

Returns
number of register table handlers

◆ get_instrinsic_temp_tblsp()

ibt::Tablespace * innodb_session_t::get_instrinsic_temp_tblsp ( )
inline

◆ get_usr_temp_tblsp()

ibt::Tablespace * innodb_session_t::get_usr_temp_tblsp ( )
inline

◆ lookup_table_handler()

dict_table_t * innodb_session_t::lookup_table_handler ( const char *  table_name)
inline

Lookup for table handler given table_name.

Parameters
[in]table_namename of the table to lookup

◆ register_table_handler()

void innodb_session_t::register_table_handler ( const char *  table_name,
dict_table_t table 
)
inline

Cache table handler.

Parameters
[in]table_namename of the table
[in,out]tabletable handler to register

◆ unregister_table_handler()

void innodb_session_t::unregister_table_handler ( const char *  table_name)
inline

Remove table handler entry.

Parameters
[in]table_namename of the table to remove

Member Data Documentation

◆ m_intrinsic_temp_tblsp

ibt::Tablespace* innodb_session_t::m_intrinsic_temp_tblsp
private

Current session's optimizer temp tablespace.

◆ m_open_tables

table_cache_t innodb_session_t::m_open_tables

Handler of tables that are created or open but not added to InnoDB dictionary as they are session specific.

Currently, limited to intrinsic temporary tables only.

◆ m_trx

trx_t* innodb_session_t::m_trx

transaction handler.

◆ m_usr_temp_tblsp

ibt::Tablespace* innodb_session_t::m_usr_temp_tblsp
private

Current session's user temp tablespace.


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