24#ifndef INCLUDE_MYSQL_STRINGS_COLLATIONS_H_
25#define INCLUDE_MYSQL_STRINGS_COLLATIONS_H_
96 std::
string operator()()
const {
return m_normalized; }
99 const char *m_normalized{
nullptr};
162 const Name &cs_name);
#define MYSQL_STRINGS_EXPORT
Definition: api.h:47
static Mysys_charset_loader * loader
Definition: charset.cc:185
User-specified callback interface for collation parser/initializer.
Definition: m_ctype.h:190
Normalizes character set/collation names.
Definition: collations.h:63
Name & operator=(Name &&) noexcept
Name & operator=(const Name &)
const char * collation
Definition: audit_api_message_emit.cc:184
MYSQL_STRINGS_EXPORT const CHARSET_INFO * find_by_name(const Name &name)
Find collation by its name.
Definition: collations.cc:112
MYSQL_STRINGS_EXPORT const CHARSET_INFO * find_by_id(unsigned id)
Find collation by its number.
Definition: collations.cc:116
MYSQL_STRINGS_EXPORT void initialize(const char *charset_dir=nullptr, MY_CHARSET_LOADER *loader=nullptr)
Initialize character set/collation library.
Definition: collations.cc:98
MYSQL_STRINGS_EXPORT const CHARSET_INFO * find_default_binary(const Name &cs_name)
Find binary collation by its character set name.
Definition: collations.cc:126
MYSQL_STRINGS_EXPORT const CHARSET_INFO * find_primary(Name cs_name)
Find primary collation by its character set name.
Definition: collations.cc:120
MYSQL_STRINGS_EXPORT void shutdown()
Shutdown character set/collation library.
Definition: collations.cc:105
Definition: instrumented_condition_variable.h:32
size_t size(const char *const c)
Definition: base64.h:46
Definition: gcs_xcom_synode.h:64
case opt name
Definition: sslopt-case.h:29
Definition: m_ctype.h:423