MySQL 8.0.39
Source Code Documentation
Uncommitted_tables_guard Class Reference

Guard class which allows to invalidate TDC entries for specific tables/views. More...

#include <dd_sql_view.h>

Public Member Functions

 Uncommitted_tables_guard (THD *thd)
 
 ~Uncommitted_tables_guard ()
 
void add_table (Table_ref *table)
 

Private Attributes

THDm_thd
 
Prealloced_array< Table_ref *, 1 > m_uncommitted_tables
 

Detailed Description

Guard class which allows to invalidate TDC entries for specific tables/views.

We use it to get rid of TABLE_SHARE objects corresponding to tables/views which definitions are not committed yet (and possibly won't be!).

Constructor & Destructor Documentation

◆ Uncommitted_tables_guard()

Uncommitted_tables_guard::Uncommitted_tables_guard ( THD thd)
inline

◆ ~Uncommitted_tables_guard()

Uncommitted_tables_guard::~Uncommitted_tables_guard ( )

Member Function Documentation

◆ add_table()

void Uncommitted_tables_guard::add_table ( Table_ref table)
inline

Member Data Documentation

◆ m_thd

THD* Uncommitted_tables_guard::m_thd
private

◆ m_uncommitted_tables

Prealloced_array<Table_ref *, 1> Uncommitted_tables_guard::m_uncommitted_tables
private

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