111 return ((it ==
m_open_tables.end()) ?
nullptr : it->second->m_handler);
Definition: sess0sess.h:47
dict_table_t * m_handler
Definition: sess0sess.h:61
dict_intrinsic_table_t(dict_table_t *handler)
Constructor.
Definition: sess0sess.h:51
~dict_intrinsic_table_t()
Destructor.
Definition: sess0sess.h:56
The handler class is the interface for dynamically loadable storage engines.
Definition: handler.h:4460
Tablespace * get(my_thread_id id, enum tbsp_purpose purpose)
Return a session temporary tablespace.
Definition: srv0tmp.cc:198
Session Temporary tablespace.
Definition: srv0tmp.h:49
Definition: sess0sess.h:70
trx_t * m_trx
transaction handler.
Definition: sess0sess.h:152
ibt::Tablespace * get_instrinsic_temp_tblsp()
Definition: sess0sess.h:141
innodb_session_t()
Constructor.
Definition: sess0sess.h:73
ibt::Tablespace * m_intrinsic_temp_tblsp
Current session's optimizer temp tablespace.
Definition: sess0sess.h:164
dict_table_t * lookup_table_handler(const char *table_name)
Lookup for table handler given table_name.
Definition: sess0sess.h:109
uint count_register_table_handler() const
Count of register table handler.
Definition: sess0sess.h:128
ibt::Tablespace * m_usr_temp_tblsp
Current session's user temp tablespace.
Definition: sess0sess.h:161
ibt::Tablespace * get_usr_temp_tblsp()
Definition: sess0sess.h:132
void unregister_table_handler(const char *table_name)
Remove table handler entry.
Definition: sess0sess.h:116
void register_table_handler(const char *table_name, dict_table_t *table)
Cache table handler.
Definition: sess0sess.h:101
table_cache_t m_open_tables
Handler of tables that are created or open but not added to InnoDB dictionary as they are session spe...
Definition: sess0sess.h:157
~innodb_session_t()
Destructor.
Definition: sess0sess.h:79
Allocator that allows std::* containers to manage their memory through ut::malloc* and ut::free libra...
Definition: ut0new.h:2180
Data dictionary memory object creation.
uint32 my_thread_id
Definition: my_thread_local.h:33
uint16_t value_type
Definition: vt100.h:183
static PFS_engine_table_share_proxy table
Definition: pfs.cc:60
class Tablespace_pool * tbsp_pool
Pool of temporary tablespace.
Definition: srv0tmp.cc:61
void free_tmp(Tablespace *ts)
Release a tablespace back to the pool.
Definition: srv0tmp.cc:380
@ TBSP_INTRINSIC
Tablespace is used for intrinsic tables.
Definition: srv0tmp.h:38
@ TBSP_USER
Tablespace is used for user temporary tables.
Definition: srv0tmp.h:36
void redo_log_archive_session_end(innodb_session_t *session)
Security function to be called when the current session ends.
Definition: log0meb.cc:1736
const char * table_name
Definition: rules_table_service.cc:55
std::map< Key, Value, Compare, ut::allocator< std::pair< const Key, Value > > > map
Specialization of map which uses ut_allocator.
Definition: ut0new.h:2891
std::map< std::string, dict_intrinsic_table_t *, std::less< std::string >, ut::allocator< std::pair< const std::string, dict_intrinsic_table_t * > > > table_cache_t
InnoDB private data that is cached in THD.
Definition: sess0sess.h:68
my_thread_id thd_thread_id(const THD *thd)
Definition: sql_thd_internal_api.cc:380
Data structure for a database table.
Definition: dict0mem.h:1908
Definition: trx0trx.h:685
THD * mysql_thd
MySQL thread handle corresponding to this trx, or NULL.
Definition: trx0trx.h:942
Version control for database, common definitions, and include files.
#define ut_ad(EXPR)
Debug assertion.
Definition: ut0dbg.h:68
Dynamic memory allocation routines and custom allocators specifically crafted to support memory instr...