MySQL 5.6.14 Source Code Document
|
Read language depeneded messagefile. More...
#include "sql_priv.h"
#include "unireg.h"
#include "derror.h"
#include "mysys_err.h"
#include "mysqld.h"
#include "sql_class.h"
Go to the source code of this file.
Functions | |
C_MODE_END bool | init_errmessage (void) |
bool | read_texts (const char *file_name, const char *language, const char ***point, uint error_messages) |
Read language depeneded messagefile.
Definition in file derror.cc.
C_MODE_END bool init_errmessage | ( | void | ) |
Read messages from errorfile.
This function can be called multiple times to reload the messages. If it fails to load the messages, it will fail softly by initializing the errmesg pointer to an array of empty strings or by keeping the old array if it exists.
FALSE | OK |
TRUE | Error |
Definition at line 58 of file derror.cc.
bool read_texts | ( | const char * | file_name, |
const char * | language, | ||
const char *** | point, | ||
uint | error_messages | ||
) |