MySQL 9.1.0
Source Code Documentation
|
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, enum_invalidation_type invalidation_type=INVALIDATE_AND_CLOSE_TABLE) |
void | mark_for_reopen_if_added (const char *db_name, const char *table_name) |
void | invalidate (THD *thd) |
const Parent_map & | parents () const |
bool | is_empty () const |
void | clear () |
Private Types | |
enum | enum_invalidation_type { INVALIDATE_AND_CLOSE_TABLE , INVALIDATE_AND_MARK_FOR_REOPEN } |
typedef std::map< std::pair< dd::String_type, dd::String_type >, std::pair< handlerton *, enum_invalidation_type > > | Parent_map |
Private Attributes | |
Parent_map | m_parent_map |
Helper class for keeping track for which tables we need to invalidate data-dictionary cache entries and performing such invalidation.
|
private |
void Foreign_key_parents_invalidator::add | ( | const char * | db_name, |
const char * | table_name, | ||
handlerton * | hton, | ||
enum_invalidation_type | invalidation_type = INVALIDATE_AND_CLOSE_TABLE |
||
) |
|
inline |
void Foreign_key_parents_invalidator::invalidate | ( | THD * | thd | ) |
|
inline |
void Foreign_key_parents_invalidator::mark_for_reopen_if_added | ( | const char * | db_name, |
const char * | table_name | ||
) |
|
inline |
|
private |