MySQL  8.0.17
Source Code Documentation
Foreign_key_parents_invalidator Class Reference

Helper class for keeping track for which tables we need to invalidate data-dictionary cache entries and performing such invalidation. More...

#include <sql_table.h>

Public Member Functions

void add (const char *db_name, const char *table_name, handlerton *hton)
 
void invalidate (THD *thd)
 
const Parent_mapparents () const
 
bool is_empty () const
 
void clear ()
 

Private Types

typedef std::map< std::pair< dd::String_type, dd::String_type >, handlerton * > Parent_map
 

Private Attributes

Parent_map m_parent_map
 

Detailed Description

Helper class for keeping track for which tables we need to invalidate data-dictionary cache entries and performing such invalidation.

Member Typedef Documentation

◆ Parent_map

Member Function Documentation

◆ add()

void Foreign_key_parents_invalidator::add ( const char *  db_name,
const char *  table_name,
handlerton hton 
)

◆ clear()

void Foreign_key_parents_invalidator::clear ( )
inline

◆ invalidate()

void Foreign_key_parents_invalidator::invalidate ( THD thd)

◆ is_empty()

bool Foreign_key_parents_invalidator::is_empty ( void  ) const
inline

◆ parents()

const Parent_map& Foreign_key_parents_invalidator::parents ( ) const
inline

Member Data Documentation

◆ m_parent_map

Parent_map Foreign_key_parents_invalidator::m_parent_map
private

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