MySQL 9.0.0
Source Code Documentation
anonymous_namespace{collations_internal.cc} Namespace Reference

Classes

class  Charset_loader
 

Typedefs

template<typename Key >
using Hash = std::unordered_map< Key, CHARSET_INFO * >
 

Functions

template<size_t N>
bool starts_with (std::string name, const char(&prefix)[N])
 
std::string alternative_collation_name (std::string name)
 
template<typename Key >
CHARSET_INFOfind_in_hash (const Hash< Key > &hash, Key key)
 
CHARSET_INFOfind_collation_in_hash (const Hash< std::string > &hash, const std::string &key)
 
CHARSET_INFOfind_cs_in_hash (const Hash< std::string > &hash, const mysql::collation::Name &key)
 
template<typename Key >
bool add_to_hash (Hash< Key > *hash, Key key, CHARSET_INFO *cs)
 

Typedef Documentation

◆ Hash

template<typename Key >
using anonymous_namespace{collations_internal.cc}::Hash = typedef std::unordered_map<Key, CHARSET_INFO *>

Function Documentation

◆ add_to_hash()

template<typename Key >
bool anonymous_namespace{collations_internal.cc}::add_to_hash ( Hash< Key > *  hash,
Key  key,
CHARSET_INFO cs 
)

◆ alternative_collation_name()

std::string anonymous_namespace{collations_internal.cc}::alternative_collation_name ( std::string  name)

◆ find_collation_in_hash()

CHARSET_INFO * anonymous_namespace{collations_internal.cc}::find_collation_in_hash ( const Hash< std::string > &  hash,
const std::string &  key 
)

◆ find_cs_in_hash()

CHARSET_INFO * anonymous_namespace{collations_internal.cc}::find_cs_in_hash ( const Hash< std::string > &  hash,
const mysql::collation::Name key 
)

◆ find_in_hash()

template<typename Key >
CHARSET_INFO * anonymous_namespace{collations_internal.cc}::find_in_hash ( const Hash< Key > &  hash,
Key  key 
)

◆ starts_with()

template<size_t N>
bool anonymous_namespace{collations_internal.cc}::starts_with ( std::string  name,
const char(&)  prefix[N] 
)