MySQL 9.1.0
Source Code Documentation
|
#include "client/mysqltest/error_names.h"
Functions | |
int | get_errcode_from_name (std::string error_name) |
Get an error code from an error name string. More... | |
const char * | get_errname_from_code (int error_code) |
Get an error name from an error code. More... | |
Variables | |
static st_error | global_error_names [] |
int get_errcode_from_name | ( | std::string | error_name | ) |
Get an error code from an error name string.
error_name | Error name string |
-1 | if error name is unknown, error code otherwise. |
const char * get_errname_from_code | ( | int | error_code | ) |
Get an error name from an error code.
error_code | Error code |
<Unknown> | keyword if error code is unknown, error name otherwise. |
|
static |