35#include "mysqld_error.h"
40 sizeof(errmsg_section_start) /
sizeof(errmsg_section_start[0]);
unsigned int STDCALL mysql_errno(MYSQL *mysql)
Definition: client.cc:9194
char * user
Definition: mysqladmin.cc:66
const char * host
Definition: mysqladmin.cc:65
void cleanup_error()
Definition: pfs_error.cc:110
static const int NUM_SECTIONS
Definition: pfs_error.h:39
void reset_events_errors_by_user()
Reset table EVENTS_ERRORS_SUMMARY_BY_USER_BY_ERROR data.
Definition: pfs_error.cc:136
void reset_events_errors_by_host()
Reset table EVENTS_ERRORS_SUMMARY_BY_HOST_BY_ERROR data.
Definition: pfs_error.cc:145
server_error error_names_array[total_error_count+2]
Names of all errors defined in err_msg.txt.
Definition: pfs_error.cc:57
void reset_events_errors_by_account()
Reset table EVENTS_ERRORS_SUMMARY_BY_ACCOUNT_BY_ERROR data.
Definition: pfs_error.cc:127
uint max_session_server_errors
Definition: pfs_error.cc:43
void aggregate_account_errors(PFS_account *account)
void reset_events_errors_global()
Reset table EVENTS_ERRORS_GLOBAL_BY_ERROR data.
Definition: pfs_error.cc:150
int init_error(const PFS_global_param *param)
Definition: pfs_error.cc:66
uint lookup_error_stat_index(uint mysql_errno)
Definition: pfs_error.cc:156
void aggregate_user_errors(PFS_user *user)
void reset_events_errors_by_thread()
Reset table EVENTS_ERRORS_SUMMARY_BY_THREAD_BY_ERROR data.
Definition: pfs_error.cc:116
void aggregate_host_errors(PFS_host *host)
uint max_global_server_errors
Definition: pfs_error.cc:42
uint pfs_to_server_error_map[]
Definition: pfs_error.cc:44
Private interface for the server (declarations).
Per account statistics.
Definition: pfs_account.h:67
Performance schema global sizing parameters.
Definition: pfs_server.h:124
Per host statistics.
Definition: pfs_host.h:64
Instrumented thread implementation.
Definition: pfs_instr.h:375
Per user statistics.
Definition: pfs_user.h:63
A record describing an error message.
Definition: derror.h:39