MySQL 9.1.0
Source Code Documentation
|
User-specified callback interface for collation parser/initializer. More...
#include <m_ctype.h>
Public Member Functions | |
MY_CHARSET_LOADER ()=default | |
virtual | ~MY_CHARSET_LOADER () |
MY_CHARSET_LOADER (const MY_CHARSET_LOADER &)=delete | |
MY_CHARSET_LOADER (const MY_CHARSET_LOADER &&)=delete | |
MY_CHARSET_LOADER & | operator= (const MY_CHARSET_LOADER &)=delete |
MY_CHARSET_LOADER & | operator= (const MY_CHARSET_LOADER &&)=delete |
virtual void | reporter (enum loglevel loglevel, unsigned errcode,...)=0 |
Intercepts error messages from collation parser/initializer. More... | |
virtual void * | read_file (const char *path, size_t *size)=0 |
Loads a file by its OS path into collation parser/initializer. More... | |
int | add_collation (CHARSET_INFO *cs) |
Collation parser helper function (not overloadable). More... | |
virtual void * | once_alloc (size_t) |
Allocate-and-forget version of malloc(). More... | |
virtual void * | mem_malloc (size_t size) |
virtual void | mem_free (void *ptr) |
Private Attributes | |
std::deque< void * > | m_delete_list |
User-specified callback interface for collation parser/initializer.
|
default |
|
virtual |
|
delete |
|
delete |
int MY_CHARSET_LOADER::add_collation | ( | CHARSET_INFO * | cs | ) |
Collation parser helper function (not overloadable).
cs | New collation object to register in the collation library |
|
inlinevirtual |
Reimplemented in anonymous_namespace{charset.cc}::Mysys_charset_loader.
|
inlinevirtual |
Reimplemented in anonymous_namespace{charset.cc}::Mysys_charset_loader.
|
virtual |
Allocate-and-forget version of malloc().
Reimplemented in anonymous_namespace{charset.cc}::Mysys_charset_loader.
|
delete |
|
delete |
|
pure virtual |
Loads a file by its OS path into collation parser/initializer.
path | '\0'-terminated file path to load |
size | Byte size of path |
Implemented in anonymous_namespace{collations_internal.cc}::Charset_loader, anonymous_namespace{charset.cc}::Mysys_charset_loader, and Loader.
|
pure virtual |
Intercepts error messages from collation parser/initializer.
loglevel | ERROR_LEVEL or WARNING_LEVEL |
errcode | See include/mysys_err.h |
Implemented in anonymous_namespace{collations_internal.cc}::Charset_loader, and Loader.
|
private |