MySQL 9.1.0
Source Code Documentation
|
#include <mysqld_error.h>
#include <sys/types.h>
#include "m_string.h"
#include "my_inttypes.h"
#include "mysql_com.h"
#include "mysys_err.h"
#include "sql/derror.h"
#include "storage/perfschema/pfs_error.h"
Functions | |
static const char * | builtin_get_sqlstate (int i) |
const char * | mysql_errno_to_sqlstate (uint mysql_errno) |
static const char * | builtin_get_symbol (int i) |
const char * | mysql_errno_to_symbol (int mysql_errno) |
int | mysql_symbol_to_errno (const char *error_symbol) |
Variables | |
server_error | error_names_array [] |
Names of all errors defined in err_msg.txt. More... | |
static server_error * | sqlstate_map = &error_names_array[1] |
|
static |
|
static |
const char * mysql_errno_to_sqlstate | ( | uint | mysql_errno | ) |
const char * mysql_errno_to_symbol | ( | int | mysql_errno | ) |
int mysql_symbol_to_errno | ( | const char * | error_symbol | ) |
|
extern |
Names of all errors defined in err_msg.txt.
This includes all names, instrumented or not.
|
static |