MySQL 9.1.0
Source Code Documentation
collations.h File Reference
#include <cstddef>
#include <string>
#include "mysql/strings/api.h"

Go to the source code of this file.

Classes

class  mysql::collation::Name
 Normalizes character set/collation names. More...
 

Namespaces

namespace  mysql
 
namespace  mysql::collation
 

Functions

MYSQL_STRINGS_EXPORT void mysql::collation::initialize (const char *charset_dir=nullptr, MY_CHARSET_LOADER *loader=nullptr)
 Initialize character set/collation library. More...
 
MYSQL_STRINGS_EXPORT void mysql::collation::shutdown ()
 Shutdown character set/collation library. More...
 
MYSQL_STRINGS_EXPORT const CHARSET_INFOmysql::collation::find_by_name (const Name &name)
 Find collation by its name. More...
 
const CHARSET_INFOmysql::collation::find_by_name (const char *name)
 Find collation by its name. More...
 
MYSQL_STRINGS_EXPORT const CHARSET_INFOmysql::collation::find_by_id (unsigned id)
 Find collation by its number. More...
 
MYSQL_STRINGS_EXPORT const CHARSET_INFOmysql::collation::find_primary (Name cs_name)
 Find primary collation by its character set name. More...
 
const CHARSET_INFOmysql::collation::find_primary (const char *cs_name)
 Find primary collation by its character set name. More...