24#ifndef RPL_TABLE_ACCESS_H_
25#define RPL_TABLE_ACCESS_H_
98 bool open_table(
THD *thd, std::string dbstr, std::string tbstr,
132 bool error,
bool need_commit);
Storage for backup of Open_tables_state.
Definition: sql_class.h:693
A base class for accessing a system table.
Definition: rpl_table_access.h:40
bool open_table(THD *thd, const LEX_CSTRING dbstr, const LEX_CSTRING tbstr, uint max_num_field, enum thr_lock_type lock_type, TABLE **table, Open_tables_backup *backup)
Opens and locks a system table.
Definition: rpl_table_access.cc:44
void drop_thd(THD *thd)
Destroys the created thread and restores the system_thread information.
Definition: rpl_table_access.cc:177
bool close_table(THD *thd, TABLE *table, Open_tables_backup *backup, bool error, bool need_commit)
Commits the changes, unlocks the table and closes it.
Definition: rpl_table_access.cc:116
virtual void before_open(THD *thd)=0
Prepares before opening table.
virtual ~System_table_access()=default
THD * create_thd()
Creates a new thread in the bootstrap process or in the mysqld startup, a thread is created in order ...
Definition: rpl_table_access.cc:167
uint m_flags
Definition: rpl_table_access.h:149
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
static bool backup
Definition: myisampack.cc:198
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
Definition: mysql_lex_string.h:40
thr_lock_type
Definition: thr_lock.h:51