◆ read_file()
void * Loader::read_file |
( |
const char * |
path, |
|
|
size_t * |
size |
|
) |
| |
|
overridevirtual |
Loads a file by its OS path into collation parser/initializer.
- Parameters
-
path | '\0'-terminated file path to load |
size | Byte size of path |
- Returns
- Pointer to file data on success, otherwise nullptr. This is a caller's responsibility to free this pointer with free().
Implements MY_CHARSET_LOADER.
◆ reporter()
void Loader::reporter |
( |
loglevel |
loglevel, |
|
|
unsigned |
errcode, |
|
|
|
... |
|
) |
| |
|
inlineoverridevirtual |
Intercepts error messages from collation parser/initializer.
- Parameters
-
loglevel | ERROR_LEVEL or WARNING_LEVEL |
errcode | See include/mysys_err.h |
Implements MY_CHARSET_LOADER.
The documentation for this class was generated from the following file: