MySQL 8.0.40
Source Code Documentation
anonymous_namespace{ha_mock.cc}::LoadedTables Class Reference

Public Member Functions

void add (const std::string &db, const std::string &table)
 
MockShareget (const std::string &db, const std::string &table)
 
void erase (const std::string &db, const std::string &table)
 

Private Attributes

std::map< std::pair< std::string, std::string >, MockSharem_tables
 
std::mutex m_mutex
 

Member Function Documentation

◆ add()

void anonymous_namespace{ha_mock.cc}::LoadedTables::add ( const std::string &  db,
const std::string &  table 
)
inline

◆ erase()

void anonymous_namespace{ha_mock.cc}::LoadedTables::erase ( const std::string &  db,
const std::string &  table 
)
inline

◆ get()

MockShare * anonymous_namespace{ha_mock.cc}::LoadedTables::get ( const std::string &  db,
const std::string &  table 
)
inline

Member Data Documentation

◆ m_mutex

std::mutex anonymous_namespace{ha_mock.cc}::LoadedTables::m_mutex
private

◆ m_tables

std::map<std::pair<std::string, std::string>, MockShare> anonymous_namespace{ha_mock.cc}::LoadedTables::m_tables
private

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