112 return ((it ==
m_open_tables.end()) ?
nullptr : it->second->m_handler);
Definition: sess0sess.h:48
dict_table_t * m_handler
Definition: sess0sess.h:62
dict_intrinsic_table_t(dict_table_t *handler)
Constructor.
Definition: sess0sess.h:52
~dict_intrinsic_table_t()
Destructor.
Definition: sess0sess.h:57
The handler class is the interface for dynamically loadable storage engines.
Definition: handler.h:4412
Tablespace * get(my_thread_id id, enum tbsp_purpose purpose)
Return a session temporary tablespace.
Definition: srv0tmp.cc:199
Session Temporary tablespace.
Definition: srv0tmp.h:50
Definition: sess0sess.h:71
trx_t * m_trx
transaction handler.
Definition: sess0sess.h:153
ibt::Tablespace * get_instrinsic_temp_tblsp()
Definition: sess0sess.h:142
innodb_session_t()
Constructor.
Definition: sess0sess.h:74
ibt::Tablespace * m_intrinsic_temp_tblsp
Current session's optimizer temp tablespace.
Definition: sess0sess.h:165
dict_table_t * lookup_table_handler(const char *table_name)
Lookup for table handler given table_name.
Definition: sess0sess.h:110
uint count_register_table_handler() const
Count of register table handler.
Definition: sess0sess.h:129
ibt::Tablespace * m_usr_temp_tblsp
Current session's user temp tablespace.
Definition: sess0sess.h:162
ibt::Tablespace * get_usr_temp_tblsp()
Definition: sess0sess.h:133
void unregister_table_handler(const char *table_name)
Remove table handler entry.
Definition: sess0sess.h:117
void register_table_handler(const char *table_name, dict_table_t *table)
Cache table handler.
Definition: sess0sess.h:102
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:158
~innodb_session_t()
Destructor.
Definition: sess0sess.h:80
Allocator that allows std::* containers to manage their memory through ut::malloc* and ut::free libra...
Definition: ut0new.h:2182
Data dictionary memory object creation.
uint32 my_thread_id
Definition: my_thread_local.h:34
uint16_t value_type
Definition: vt100.h:184
class Tablespace_pool * tbsp_pool
Pool of temporary tablespace.
Definition: srv0tmp.cc:62
void free_tmp(Tablespace *ts)
Release a tablespace back to the pool.
Definition: srv0tmp.cc:381
@ TBSP_INTRINSIC
Tablespace is used for intrinsic tables.
Definition: srv0tmp.h:39
@ TBSP_USER
Tablespace is used for user temporary tables.
Definition: srv0tmp.h:37
void redo_log_archive_session_end(innodb_session_t *session)
Security function to be called when the current session ends.
Definition: log0meb.cc:1737
const char * table_name
Definition: rules_table_service.cc:56
std::map< Key, Value, Compare, ut::allocator< std::pair< const Key, Value > > > map
Specialization of map which uses ut_allocator.
Definition: ut0new.h:2893
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:69
my_thread_id thd_thread_id(const THD *thd)
Definition: sql_thd_internal_api.cc:378
Data structure for a database table.
Definition: dict0mem.h:1909
Definition: trx0trx.h:675
THD * mysql_thd
MySQL thread handle corresponding to this trx, or NULL.
Definition: trx0trx.h:932
unsigned int uint
Definition: uca9-dump.cc:75
Version control for database, common definitions, and include files.
#define ut_ad(EXPR)
Debug assertion.
Definition: ut0dbg.h:69
Dynamic memory allocation routines and custom allocators specifically crafted to support memory instr...