MySQL 9.1.0
Source Code Documentation
|
#include <string>
Go to the source code of this file.
Classes | |
struct | st_error |
Error structure. More... | |
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... | |
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. |