MySQL 8.4.2
Source Code Documentation
|
Auxiliary class for opening dictionary tables. More...
#include <transaction_impl.h>
Public Member Functions | |
Open_dictionary_tables_ctx (THD *thd, thr_lock_type lock_type) | |
~Open_dictionary_tables_ctx () | |
Raw_table * | get_table (const String_type &name) const |
template<typename T > | |
Raw_table * | get_table () const |
template<typename X > | |
void | register_tables () |
template<typename X > | |
void | add_table () |
bool | open_tables () |
Open all the DD tables in list Open_dictionary_tables_ctx::m_tables. More... | |
void | add_table (const String_type &name) |
THD * | get_thd () const |
void | mark_ignore_global_read_lock () |
Ignore global read lock when opening the tables. More... | |
Private Types | |
typedef std::map< String_type, Raw_table * > | Object_table_map |
Private Attributes | |
THD * | m_thd |
thr_lock_type | m_lock_type |
bool | m_ignore_global_read_lock |
Object_table_map | m_tables |
Auxiliary class for opening dictionary tables.
|
private |
|
inline |
dd::Open_dictionary_tables_ctx::~Open_dictionary_tables_ctx | ( | ) |
|
inline |
void dd::Open_dictionary_tables_ctx::add_table | ( | const String_type & | name | ) |
|
inline |
Raw_table * dd::Open_dictionary_tables_ctx::get_table | ( | const String_type & | name | ) | const |
|
inline |
|
inline |
Ignore global read lock when opening the tables.
bool dd::Open_dictionary_tables_ctx::open_tables | ( | ) |
Open all the DD tables in list Open_dictionary_tables_ctx::m_tables.
|
inline |
|
private |
|
private |
|
private |
|
private |