#include <derror.h>
◆ MY_LOCALE_ERRMSGS()
MY_LOCALE_ERRMSGS::MY_LOCALE_ERRMSGS |
( |
const char * |
lang_par | ) |
|
|
inline |
◆ destroy()
void MY_LOCALE_ERRMSGS::destroy |
( |
| ) |
|
Deallocate error message strings.
◆ get_language()
const char * MY_LOCALE_ERRMSGS::get_language |
( |
| ) |
const |
|
inline |
What language is this error message set for?
◆ is_loaded()
bool MY_LOCALE_ERRMSGS::is_loaded |
( |
| ) |
const |
|
inline |
Has the error message file been successfully loaded?
◆ lookup()
const char * MY_LOCALE_ERRMSGS::lookup |
( |
int |
mysql_errno | ) |
|
Return error message string for a given error number.
◆ read_texts()
bool MY_LOCALE_ERRMSGS::read_texts |
( |
| ) |
|
Read the error message file and initialize strings.
Read text from packed textfile in language-directory.
- Return values
-
false | On success |
true | On failure |
- Note
- If we can't read messagefile then it's panic- we can't continue.
◆ errmsgs
const char** MY_LOCALE_ERRMSGS::errmsgs |
|
private |
◆ language
const char* MY_LOCALE_ERRMSGS::language |
|
private |
The documentation for this class was generated from the following files: