![]() |
MySQL 8.0.43
Source Code Documentation
|
Server error instrument data structures (implementation). More...
#include "storage/perfschema/pfs_error.h"#include "my_sys.h"#include "mysql_com.h"#include "storage/perfschema/pfs_account.h"#include "storage/perfschema/pfs_buffer_container.h"#include "storage/perfschema/pfs_builtin_memory.h"#include "storage/perfschema/pfs_global.h"#include "storage/perfschema/pfs_host.h"#include "storage/perfschema/pfs_instr.h"#include "storage/perfschema/pfs_instr_class.h"#include "storage/perfschema/pfs_user.h"Functions | |
| static void | fct_reset_events_errors_by_thread (PFS_thread *thread) |
| int | init_error (const PFS_global_param *param) |
| void | cleanup_error () |
| void | reset_events_errors_by_thread () |
| Reset table EVENTS_ERRORS_SUMMARY_BY_THREAD_BY_ERROR data. More... | |
| static void | fct_reset_events_errors_by_account (PFS_account *pfs) |
| void | reset_events_errors_by_account () |
| Reset table EVENTS_ERRORS_SUMMARY_BY_ACCOUNT_BY_ERROR data. More... | |
| static void | fct_reset_events_errors_by_user (PFS_user *pfs) |
| void | reset_events_errors_by_user () |
| Reset table EVENTS_ERRORS_SUMMARY_BY_USER_BY_ERROR data. More... | |
| static void | fct_reset_events_errors_by_host (PFS_host *pfs) |
| void | reset_events_errors_by_host () |
| Reset table EVENTS_ERRORS_SUMMARY_BY_HOST_BY_ERROR data. More... | |
| void | reset_events_errors_global () |
| Reset table EVENTS_ERRORS_GLOBAL_BY_ERROR data. More... | |
| uint | lookup_error_stat_index (uint mysql_errno) |
Variables | |
| uint | max_global_server_errors |
| uint | max_session_server_errors |
| uint | pfs_to_server_error_map [PFS_MAX_GLOBAL_SERVER_ERRORS] |
| server_error | error_names_array [] |
| Names of all errors defined in err_msg.txt. More... | |
Server error instrument data structures (implementation).
| void cleanup_error | ( | ) |
|
static |
|
static |
|
static |
|
static |
| int init_error | ( | const PFS_global_param * | param | ) |
| void reset_events_errors_by_account | ( | ) |
Reset table EVENTS_ERRORS_SUMMARY_BY_ACCOUNT_BY_ERROR data.
| void reset_events_errors_by_host | ( | ) |
Reset table EVENTS_ERRORS_SUMMARY_BY_HOST_BY_ERROR data.
| void reset_events_errors_by_thread | ( | ) |
Reset table EVENTS_ERRORS_SUMMARY_BY_THREAD_BY_ERROR data.
| void reset_events_errors_by_user | ( | ) |
Reset table EVENTS_ERRORS_SUMMARY_BY_USER_BY_ERROR data.
| void reset_events_errors_global | ( | ) |
Reset table EVENTS_ERRORS_GLOBAL_BY_ERROR data.
| server_error error_names_array[] |
Names of all errors defined in err_msg.txt.
This includes all names, instrumented or not.
| uint max_global_server_errors |
| uint max_session_server_errors |
| uint pfs_to_server_error_map[PFS_MAX_GLOBAL_SERVER_ERRORS] |