MySQL 9.1.0
Source Code Documentation
|
#include "my_config.h"
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unordered_map>
#include "my_compiler.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_macros.h"
#include "my_psi_config.h"
#include "my_sys.h"
#include "my_thread.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "mysql/psi/mysql_cond.h"
#include "mysql/psi/mysql_file.h"
#include "mysql/psi/mysql_memory.h"
#include "mysql/psi/mysql_mutex.h"
#include "mysql/psi/mysql_rwlock.h"
#include "mysql/psi/mysql_stage.h"
#include "mysql/psi/mysql_thread.h"
#include "mysql/psi/psi_cond.h"
#include "mysql/psi/psi_file.h"
#include "mysql/psi/psi_memory.h"
#include "mysql/psi/psi_mutex.h"
#include "mysql/psi/psi_rwlock.h"
#include "mysql/psi/psi_stage.h"
#include "mysql/psi/psi_thread.h"
#include "mysql/strings/m_ctype.h"
#include "mysys/my_static.h"
#include "mysys/mysys_priv.h"
#include "mysys_err.h"
#include "nulls.h"
#include "str2int.h"
#include "strxmov.h"
#include "template_utils.h"
#include <sys/resource.h>
Macros | |
#define | SCALE_SEC 100 |
#define | SCALE_USEC 10000 |
Functions | |
static ulong | atoi_octal (const char *str) |
bool | my_init () |
Initialize my_sys functions, resources and variables. More... | |
void | my_end (int infoflag) |
void | my_abort () |
Calls our own implementation of abort, if specified, or std's abort(). More... | |
void | set_my_abort (void(*new_my_abort_func)()) |
Sets a new function to be called on my_abort(). More... | |
void | my_init_mysys_psi_keys () |
#define SCALE_SEC 100 |
#define SCALE_USEC 10000 |
|
static |
void my_abort | ( | ) |
Calls our own implementation of abort, if specified, or std's abort().
void set_my_abort | ( | void(*)() | new_my_abort_func | ) |
Sets a new function to be called on my_abort().
new_my_abort_func | pointer to a new my_abort function. It can't be [[noreturn]] as pointers to methods can't have attributes. |
|
static |
|
static |
|
static |
|
static |
|
static |
PSI_stage_info* all_mysys_stages[] = {&stage_waiting_for_table_level_lock} |
|
static |
PSI_file_key key_file_charset |
PSI_file_key key_file_cnf |
PSI_file_key key_file_proc_meminfo |
PSI_mutex_key key_IO_CACHE_append_buffer_lock |
PSI_cond_key key_IO_CACHE_SHARE_cond |
PSI_cond_key key_IO_CACHE_SHARE_cond_writer |
PSI_mutex_key key_IO_CACHE_SHARE_mutex |
PSI_mutex_key key_KEY_CACHE_cache_lock |
PSI_rwlock_key key_SAFE_HASH_lock |
PSI_cond_key key_THR_COND_threads |
PSI_mutex_key key_THR_LOCK_heap |
PSI_mutex_key key_THR_LOCK_lock |
PSI_mutex_key key_THR_LOCK_malloc |
PSI_mutex_key key_THR_LOCK_mutex |
PSI_mutex_key key_THR_LOCK_myisam |
PSI_mutex_key key_THR_LOCK_myisam_mmap |
PSI_mutex_key key_THR_LOCK_net |
PSI_mutex_key key_THR_LOCK_open |
PSI_mutex_key key_THR_LOCK_threads |
PSI_mutex_key key_TMPDIR_mutex |
|
static |
Pointer to function that handles abort.
It is the std's abort() by default.
PSI_stage_info stage_waiting_for_disk_space |
PSI_stage_info stage_waiting_for_table_level_lock |