24#ifndef MYSQLD_INCLUDED
25#define MYSQLD_INCLUDED
82#elif MAX_INDEXES > 255
83#error "MAX_INDEXES values greater than 255 is not supported."
89#define TEST_PRINT_CACHED_TABLES 1
90#define TEST_NO_KEY_GROUP 2
91#define TEST_MIT_THREAD 4
97#define OBSOLETE_TEST_BLOCKING 8
98#define TEST_KEEP_TMP_TABLES 16
99#define TEST_READCHECK 64
100#define TEST_NO_EXTRA 128
101#define TEST_CORE_ON_SIGNAL 256
102#define TEST_NO_STACKTRACE 512
103#define TEST_SIGINT 1024
104#define TEST_SYNCHRONIZATION \
107#define TEST_DO_QUICK_LEAK_CHECK \
110#define TEST_NO_TEMP_TABLES \
113#define SPECIAL_NO_NEW_FUNC 2
114#define SPECIAL_SKIP_SHOW_DB 4
115#define SPECIAL_NO_RESOLVE 64
116#define SPECIAL_SHORT_LOG_FORMAT 1024
189extern bool opt_no_monitor;
216extern char *named_pipe_full_access_group;
217extern bool opt_enable_shared_memory;
290#if defined(HAVE_BUILD_ID_SUPPORT)
294extern const double log_10[309];
402extern std::atomic<long>
419#ifdef HAVE_PSI_INTERFACE
646#ifdef HAVE_PSI_STATEMENT_INTERFACE
693#define mysql_tmpdir (my_tmpdir(&mysql_tmpdir_list))
755#define ER(X) please_use_ER_THD_or_ER_DEFAULT_instead(X)
816bool update_named_pipe_full_access_group(
const char *new_group_name);
int64 query_id_t
Definition: binlog.h:72
Definition: sql_bitmap.h:154
Definition: sql_bitmap.h:43
This class implements component loading through manifest file.
Definition: sql_component.h:100
Definition: nt_servc.h:23
Definition: rpl_async_conn_failover_configuration_propagation.h:144
The class is a Rpl_filter representing global replication filters, with a vector that references all ...
Definition: rpl_filter.h:533
Class that contains functionality to monitor group member's state, role and quorum changes on all the...
Definition: rpl_io_monitor.h:126
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
This class represents abstract time zone and provides basic interface for MYSQL_TIME <-> my_time_t co...
Definition: tztime.h:49
uint sync_binlog_period
Definition: binlog.cc:190
my_thread_attr_t connection_attrib
Definition: mysqld.cc:1613
char * opt_relay_logname
Definition: mysqld.h:263
bool server_id_supplied
Definition: mysqld.h:161
unsigned int PSI_cond_key
Instrumented cond key.
Definition: psi_cond_bits.h:44
unsigned int PSI_file_key
Instrumented file key.
Definition: psi_file_bits.h:48
unsigned int PSI_mutex_key
Instrumented mutex key.
Definition: psi_mutex_bits.h:52
unsigned int PSI_rwlock_key
Instrumented rwlock key.
Definition: psi_rwlock_bits.h:44
unsigned int PSI_socket_key
Instrumented socket key.
Definition: psi_socket_bits.h:49
unsigned int PSI_thread_key
Instrumented thread key.
Definition: psi_thread_bits.h:50
A better implementation of the UNIX ctype(3) library.
@ COM_END
Not a real command.
Definition: my_command.h:102
#define MAX_INDEXES
Definition: my_config.h:210
Common definition used by mysys, performance schema and server & client.
static constexpr int HOSTNAME_LENGTH
Definition: my_hostname.h:43
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
int64_t int64
Definition: my_inttypes.h:68
int32_t int32
Definition: my_inttypes.h:66
uint32_t uint32
Definition: my_inttypes.h:67
Common #defines and includes for file and socket I/O.
#define FN_EXTLEN
Definition: my_io.h:86
#define FN_REFLEN
Definition: my_io.h:87
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
Functions related to handling of plugins and other dynamically loaded libraries.
#define MYSQL_PLUGIN_IMPORT
Definition: my_sharedlib.h:71
@ SQLCOM_END
Definition: my_sqlcommand.h:213
Common header for many mysys elements.
Defines to make different thread packages compatible.
pthread_attr_t my_thread_attr_t
Definition: my_thread_bits.h:49
Common definition between mysql server & client.
#define SERVER_VERSION_LENGTH
Definition: mysql_com.h:74
Instrumentation helpers for conditions.
ABI for instrumented mutexes.
Instrumentation helpers for rwlock.
bool opt_enable_named_pipe
Definition: mysqld.cc:1260
void persisted_variables_refresh_keyring_support()
Definition: mysqld.cc:1858
uint sync_relaylog_period
Definition: mysqld.h:243
PSI_file_key key_file_relaylog_index_cache
Definition: mysqld.cc:14269
PSI_cond_key key_COND_cache_status_changed
Definition: mysqld.cc:14147
PSI_mutex_key key_gtid_ensure_index_mutex
Definition: mysqld.cc:13991
ulong aborted_threads
Definition: mysqld.cc:1389
const char * mysql_real_data_home_ptr
Definition: mysqld.cc:1526
PSI_stage_info stage_flushing_applier_metadata
Definition: mysqld.cc:14334
PSI_stage_info stage_making_temp_file_append_before_load_data
Definition: mysqld.cc:14340
PSI_stage_info stage_waiting_for_replica_thread_to_start
Definition: mysqld.cc:14389
PSI_stage_info stage_cleaning_up
Definition: mysqld.cc:14317
ulong opt_keyring_migration_port
Definition: mysqld.cc:1235
PSI_stage_info stage_updating
Definition: mysqld.cc:14378
bool opt_allow_suspicious_udfs
Definition: mysqld.cc:1285
PSI_stage_info stage_rename_result_table
Definition: mysqld.cc:14353
ulonglong conn_memory_status_limit
Definition: mysqld.cc:1407
Deployed_components * g_deployed_components
This variable holds handle to the object that's responsible for loading/unloading components from man...
Definition: mysqld.cc:1414
PSI_file_key key_file_load
Definition: mysqld.cc:14255
PSI_stage_info stage_rpl_apply_row_evt_update
Definition: mysqld.cc:14372
PSI_mutex_key key_TABLE_SHARE_LOCK_ha_data
Definition: mysqld.cc:13980
mysql_service_registry_query_t * srv_registry_query
Definition: mysqld.cc:2027
PSI_stage_info stage_deleting_from_reference_tables
Definition: mysqld.cc:14326
bool opt_source_verify_checksum
Definition: mysqld.cc:1336
PSI_file_key key_file_init
Definition: mysqld.cc:14263
PSI_stage_info stage_reading_event_from_the_relay_log
Definition: mysqld.cc:14349
struct aggregated_stats global_aggregated_stats
Definition: mysqld.cc:1560
uint test_flags
Definition: mysqld.cc:1348
void kill_mysql(void)
Definition: mysqld.cc:2546
PSI_stage_info stage_hook_begin_trans
Definition: mysqld.cc:14399
mysql_mutex_t LOCK_replica_trans_dep_tracker
Definition: mysqld.cc:1607
ulong delayed_insert_timeout
Definition: mysqld.cc:1390
mysql_mutex_t LOCK_server_started
Definition: mysqld.cc:1614
mysql_service_registry_t * srv_registry
Definition: mysqld.cc:2021
bool sha256_password_proxy_users
Definition: mysqld.h:225
bool dynamic_plugins_are_initialized
Flag indicating if dynamic plugins have been loaded.
Definition: mysqld.cc:1967
PSI_thread_key key_thread_compress_gtid_table
Definition: mysqld.cc:14221
PSI_mutex_key key_mutex_slave_parallel_worker_count
Definition: mysqld.cc:13977
void set_mysqld_partial_revokes(bool value)
Set partial_revokes with a given value.
Definition: mysqld.cc:14751
PSI_stage_info stage_closing_tables
Definition: mysqld.cc:14318
PSI_file_key key_file_trn
Definition: mysqld.cc:14262
mysql_cond_t COND_manager
Definition: sql_manager.cc:60
char * opt_keyring_migration_socket
Definition: mysqld.cc:1232
int64 query_id_t
Definition: mysqld.h:744
uint ha_open_options
Definition: mysqld.h:250
bool opt_initialize
Definition: mysqld.cc:1258
PSI_cond_key key_relay_log_info_sleep_cond
Definition: mysqld.cc:14158
ulong delay_key_write_options
Definition: mysqld.cc:1350
char * my_bind_addr_str
Definition: mysqld.cc:1190
ulonglong opt_mts_pending_jobs_size_max
Definition: mysqld.cc:1373
bool mysqld_partial_revokes()
Get status partial_revokes on server.
Definition: mysqld.cc:14741
handlerton * innodb_hton
Definition: mysqld.cc:1275
const char * show_comp_option_name[]
Definition: mysqld.cc:1058
PSI_stage_info stage_waiting_for_relay_log_space
Definition: mysqld.cc:14387
bool opt_log_replica_updates
Definition: mysqld.cc:1264
uint protocol_version
Definition: mysqld.cc:1351
PSI_mutex_key key_LOCK_delegate_connection_mutex
Definition: mysqld.cc:14000
PSI_file_key key_file_slow_log
Definition: mysqld.cc:14265
ulong opt_server_id_mask
Definition: mysqld.cc:1279
mysql_mutex_t LOCK_rotate_binlog_master_key
Definition: mysqld.cc:1638
PSI_stage_info stage_query_end
Definition: mysqld.cc:14347
PSI_mutex_key key_source_info_thd_lock
Definition: mysqld.cc:13968
bool clone_recovery_error
True, if clone recovery has failed.
Definition: mysqld.cc:1331
char * default_tz_name
Definition: mysqld.cc:1505
MYSQL_PLUGIN_IMPORT bool mysqld_server_started
Definition: mysqld.h:371
ulonglong temptable_max_ram
Definition: mysqld.cc:1197
PSI_stage_info stage_replica_waiting_workers_to_exit
Definition: mysqld.cc:14370
bool using_udf_functions
Definition: mysqld.cc:1220
bool mysqld_offline_mode()
Get mysqld offline mode.
Definition: mysqld.h:784
MYSQL_PLUGIN_IMPORT MY_TMPDIR mysql_tmpdir_list
Definition: mysqld.cc:1562
PSI_stage_info stage_replica_has_read_all_relay_log
Definition: mysqld.cc:14358
uint replica_rows_last_search_algorithm_used
Definition: mysqld.cc:1376
int init_common_variables()
Definition: mysqld.cc:6584
PSI_cond_key key_PAGE_cond
Definition: mysqld.cc:14144
ulonglong max_binlog_stmt_cache_size
Definition: mysqld.h:322
struct st_VioSSLFd * ssl_acceptor_fd
PSI_mutex_key key_LOCK_thd_data
Definition: mysqld.cc:13960
long opt_upgrade_mode
Definition: mysqld.cc:1256
char * my_admin_bind_addr_str
Definition: mysqld.cc:1191
uint sync_relayloginfo_period
Definition: mysqld.h:243
PSI_stage_info stage_statistics
Definition: mysqld.cc:14374
bool is_secure_file_path(const char *path)
Test a file path to determine if the path is compatible with the secure file path restriction.
Definition: mysqld.cc:13458
PSI_file_key key_file_general_log
Definition: mysqld.cc:14264
ulong rpl_stop_replica_timeout
Definition: mysqld.cc:1397
mysql_mutex_t LOCK_manager
Definition: sql_manager.cc:59
PSI_mutex_key key_mutex_replica_reporting_capability_err_lock
Definition: mysqld.cc:13970
PSI_mutex_key key_mutex_slave_parallel_worker
Definition: mysqld.cc:13978
char * opt_keyring_migration_source
Definition: mysqld.cc:1233
ulong opt_mts_replica_parallel_workers
Definition: mysqld.cc:1372
PSI_stage_info stage_replica_waiting_to_reconnect_after_failed_event_read
Definition: mysqld.cc:14365
char * opt_keyring_migration_user
Definition: mysqld.cc:1229
Bitmap< 64 > Key_map
Definition: mysqld.h:78
PSI_stage_info stage_worker_waiting_for_commit_parent
Definition: mysqld.cc:14395
PSI_rwlock_key key_rwlock_rpl_filter_lock
Definition: mysqld.cc:14105
const char * log_error_dest
Definition: mysqld.cc:1508
PSI_mutex_key key_source_info_run_lock
Definition: mysqld.cc:13966
PSI_file_key key_file_misc
Definition: router_mysqlclient_exports.cc:29
PSI_stage_info stage_copy_to_tmp_table
Definition: mysqld.cc:14322
mysql_mutex_t LOCK_global_system_variables
Definition: mysqld.cc:1582
PSI_thread_key key_thread_one_connection
Definition: mysqld.cc:14220
PSI_cond_key key_COND_active
Definition: mysqld.cc:14145
PSI_stage_info stage_updating_reference_tables
Definition: mysqld.cc:14380
const char * server_uuid_ptr
Definition: mysqld.cc:1492
bool opt_replica_compressed_protocol
Definition: mysqld.cc:1261
PSI_cond_key key_commit_order_manager_cond
Definition: mysqld.cc:14165
PSI_mutex_key key_RELAYLOG_LOCK_index
Definition: mysqld.cc:13986
PSI_rwlock_key key_rwlock_channel_to_filter_lock
Definition: mysqld.cc:14106
PSI_stage_info stage_queueing_source_event_to_the_relay_log
Definition: mysqld.cc:14348
mysql_component_t mysql_component_mysql_server
Definition: server_component.cc:1233
PSI_mutex_key key_commit_order_manager_mutex
Definition: mysqld.cc:13997
PSI_stage_info stage_update
Definition: mysqld.cc:14377
bool signal_restart_server()
Signal the server thread for restart.
Definition: mysqld.cc:2522
void my_init_signals()
Definition: mysqld.cc:3689
ulonglong replica_type_conversions_options
Definition: mysqld.cc:1371
PSI_stage_info stage_alter_inplace
Definition: mysqld.cc:14312
mysql_mutex_t LOCK_log_throttle_qni
Definition: mysqld.cc:1608
char mysql_unpacked_real_data_home[]
Definition: mysqld.cc:1517
ulong slave_trans_retries
Definition: mysqld.cc:1368
SHOW_VAR status_vars[]
Definition: mysqld.cc:11644
PSI_stage_info stage_checking_source_version
Definition: mysqld.cc:14315
PSI_stage_info stage_compressing_gtid_table
Definition: mysqld.cc:14319
uint mysqld_port
Definition: mysqld.h:251
ulong opt_tc_log_size
Definition: mysqld.cc:1223
PSI_stage_info stage_replica_waiting_worker_to_free_events
Definition: mysqld.cc:14368
PSI_stage_info stage_replica_waiting_to_reconnect_after_failed_binlog_dump_request
Definition: mysqld.cc:14364
uint replica_net_timeout
Definition: mysqld.cc:1369
PSI_cond_key key_source_info_data_cond
Definition: mysqld.cc:14149
handlerton * myisam_hton
Definition: mysqld.cc:1274
PSI_stage_info stage_sending_binlog_event_to_replica
Definition: mysqld.cc:14356
bool temptable_use_mmap
Definition: mysqld.cc:1199
bool opt_general_log
Definition: mysqld.cc:1211
PSI_stage_info stage_finished_reading_one_binlog_switching_to_next_binlog
Definition: mysqld.cc:14332
PSI_stage_info stage_suspending
Definition: mysqld.cc:14396
PSI_mutex_key key_LOCK_error_log
Definition: mysqld.cc:13959
PSI_file_key key_file_relaylog_index
Definition: mysqld.cc:14268
ulong table_def_size
Definition: mysqld.cc:1362
char system_time_zone_dst_off[30]
Definition: mysqld.h:285
int * get_remaining_argc()
Definition: mysqld.cc:1867
ulong connection_errors_peer_addr
Number of errors when reading the peer address.
Definition: mysqld.cc:1540
mysql_mutex_t LOCK_collect_instance_log
Definition: mysqld.cc:1619
PSI_stage_info stage_system_lock
Definition: mysqld.cc:14376
mysql_mutex_t LOCK_status
Definition: mysqld.cc:1581
ulong table_cache_size
Definition: mysqld.cc:1355
PSI_stage_info stage_replica_waiting_for_workers_to_process_queue
Definition: mysqld.cc:14363
mysql_rwlock_t LOCK_sys_init_replica
Definition: mysqld.cc:1609
std::atomic< query_id_t > atomic_global_query_id
Definition: mysqld.cc:1388
uint opt_large_page_size
Definition: mysqld.cc:1294
ulong binlog_stmt_cache_use
Definition: mysqld.cc:1395
bool log_diagnostic_enable
Definition: mysqld.cc:1510
PSI_stage_info stage_waiting_for_table_flush
Definition: mysqld.cc:14390
bool lower_case_file_system
Definition: mysqld.cc:1289
bool is_help_or_validate_option()
Check if –help option or –validate-config is specified.
Definition: mysqld.h:775
mysql_mutex_t LOCK_partial_revokes
Definition: mysqld.cc:1306
PSI_stage_info stage_replica_waiting_to_reconnect_after_failed_registration_on_source
Definition: mysqld.cc:14366
bool trust_function_creators
Definition: mysqld.cc:1311
std::atomic< long > atomic_count_hit_query_past_conn_mem_status_limit
Definition: mysqld.cc:1408
PSI_stage_info stage_after_create
Definition: mysqld.cc:14310
PSI_mutex_key key_LOCK_thd_protocol
Definition: mysqld.cc:13962
PSI_mutex_key key_RELAYLOG_LOCK_log
Definition: mysqld.cc:13987
char lc_messages_dir[FN_REFLEN]
Definition: mysqld.cc:1513
PSI_stage_info stage_purging_old_relay_logs
Definition: mysqld.cc:14346
PSI_mutex_key key_RELAYLOG_LOCK_commit
Definition: mysqld.cc:13985
void thd_mem_cnt_alloc(THD *thd, size_t size, const char *key_name)
Definition: mysqld.cc:1893
mysql_cond_t COND_server_started
Definition: mysqld.cc:1615
PSI_mutex_key key_mutex_slave_parallel_pend_jobs
Definition: mysqld.cc:13976
MYSQL_PLUGIN_IMPORT struct System_variables global_system_variables
Definition: mysqld.cc:1557
const char * default_tmp_storage_engine
Definition: mysqld.cc:1196
PSI_stage_info stage_waiting_for_gtid_to_be_committed
Definition: mysqld.cc:14383
uint opt_server_id_bits
Definition: mysqld.cc:1278
PSI_stage_info stage_discard_or_import_tablespace
Definition: mysqld.cc:14327
bool opt_replica_preserve_commit_order
Definition: mysqld.cc:1374
PSI_stage_info stage_user_sleep
Definition: mysqld.cc:14381
PSI_mutex_key key_relay_log_info_sleep_lock
Definition: mysqld.cc:13972
PSI_stage_info stage_rpl_apply_row_evt_delete
Definition: mysqld.cc:14373
PSI_rwlock_key key_rwlock_receiver_tsid_lock
Definition: mysqld.cc:14104
PSI_stage_info stage_creating_tmp_table
Definition: mysqld.cc:14324
bool opt_skip_name_resolve
Definition: mysqld.cc:1217
mysql_mutex_t LOCK_rpl_opt_tracker
Definition: mysqld.cc:1620
const char * timestamp_type_names[]
Definition: mysqld.cc:1346
const char * first_keyword
Definition: mysqld.cc:1066
PSI_mutex_key key_structure_guard_mutex
Definition: mysqld.cc:13979
MYSQL_PLUGIN_IMPORT uint reg_ext_length
Definition: mysqld.cc:1520
bool opt_debugging
Definition: mysqld.cc:1182
PSI_mutex_key key_monitor_info_run_lock
Definition: mysqld.cc:13999
LEX_STRING opt_mandatory_roles
Definition: mysqld.cc:1207
char glob_hostname[HOSTNAME_LENGTH+1]
Definition: mysqld.cc:1512
PSI_mutex_key key_LOCK_thd_security_ctx
Definition: mysqld.cc:13963
PSI_stage_info stage_waiting_to_finalize_termination
Definition: mysqld.cc:14393
mysql_mutex_t LOCK_reset_gtid_table
Definition: mysqld.cc:1616
PSI_rwlock_key key_rwlock_channel_map_lock
Definition: mysqld.cc:14102
PSI_mutex_key key_LOCK_tc
Definition: mysqld.cc:13957
PSI_stage_info stage_worker_waiting_for_its_turn_to_commit
Definition: mysqld.cc:14394
char server_uuid[UUID_LENGTH+1]
Definition: mysqld.cc:1491
PSI_cond_key key_monitor_info_run_cond
Definition: mysqld.cc:14167
char * opt_disabled_storage_engines
Definition: mysqld.cc:1277
bool opt_bin_log
Definition: mysqld.cc:1210
mysql_mutex_t LOCK_password_reuse_interval
Definition: mysqld.cc:1303
char * opt_log_error_suppression_list
Definition: mysqld.cc:1227
ulong opt_binlog_group_commit_sync_no_delay_count
Definition: mysqld.cc:1385
PSI_stage_info stage_replica_reconnecting_after_failed_event_read
Definition: mysqld.cc:14360
const mysql_service_dynamic_loader_t * dynamic_loader_srv
Definition: persistent_dynamic_loader.cc:77
bool opt_replica_sql_verify_checksum
Definition: mysqld.cc:1337
PSI_mutex_key key_LOCK_thd_sysvar
Definition: mysqld.cc:13961
char default_logfile_name[FN_REFLEN]
Definition: mysqld.cc:1499
sigset_t mysqld_signal_mask
Definition: mysqld.cc:1612
char * opt_slow_logname
Definition: mysqld.h:262
Rpl_acf_configuration_handler * rpl_acf_configuration_handler
Definition: mysqld.cc:1553
PSI_file_key key_file_frm
Definition: mysqld.cc:14254
PSI_stage_info stage_logging_slow_query
Definition: mysqld.cc:14339
PSI_cond_key key_RELAYLOG_update_cond
Definition: mysqld.cc:14162
PSI_stage_info stage_execution_of_init_command
Definition: mysqld.cc:14330
const uint16_t mixed_non_transactional_engine_warning_period
The time period for which no warning for non-composable engines should be written to the error log af...
Definition: mysqld.h:868
ulonglong temptable_max_mmap
Definition: mysqld.cc:1198
bool opt_log_unsafe_statements
Definition: mysqld.cc:1344
PSI_mutex_key key_LOCK_query_plan
Definition: mysqld.cc:13981
bool opt_myisam_use_mmap
Definition: mysqld.h:180
ulong delayed_insert_limit
Definition: mysqld.cc:1390
ulong what_to_log
Definition: mysqld.cc:1364
bool opt_super_readonly
Definition: mysqld.h:203
char *** get_remaining_argv()
Definition: mysqld.cc:1869
bool migrate_connect_options
Variable to check if connection related options are set as part of keyring migration.
Definition: mysqld.cc:1236
bool opt_log_slow_extra
Definition: mysqld.cc:1215
enum_server_operational_state
Definition: mysqld.h:154
@ SERVER_OPERATING
Definition: mysqld.h:156
@ SERVER_BOOTING
Definition: mysqld.h:155
@ SERVER_SHUTTING_DOWN
Definition: mysqld.h:157
PSI_stage_info stage_replica_waiting_event_from_coordinator
Definition: mysqld.cc:14362
bool opt_validate_config
Definition: mysqld.cc:1076
thread_local MEM_ROOT ** THR_MALLOC
Definition: mysqld.cc:1579
ulong connect_timeout
Definition: mysqld.h:309
char * opt_keyring_migration_host
Definition: mysqld.cc:1230
PSI_stage_info stage_rpl_apply_row_evt_write
Definition: mysqld.cc:14371
mysql_rwlock_t LOCK_system_variables_hash
Definition: mysqld.cc:1610
void refresh_status()
Reset global and session status variables.
Definition: mysqld.cc:13897
uint mysqld_admin_port
Definition: mysqld.cc:1192
bool server_shutting_down
Definition: mysqld.cc:1654
PSI_stage_info stage_waiting_for_the_next_event_in_relay_log
Definition: mysqld.cc:14391
ulong tc_log_max_pages_used
Definition: mysqld.h:245
ulong open_files_limit
Definition: mysqld.cc:1367
LEX_CSTRING sql_statement_names[(uint) SQLCOM_END+1]
Definition: mysqld.cc:4717
mysql_mutex_t LOCK_default_password_lifetime
Definition: mysqld.cc:1300
struct rand_struct sql_rand
used by sql_class.cc:THD::THD()
Definition: mysqld.cc:1934
mysql_mutex_t LOCK_global_conn_mem_limit
Definition: mysqld.cc:1646
ulong tablespace_def_size
Definition: mysqld.cc:1363
bool sp_automatic_privileges
Definition: mysqld.cc:1320
PSI_stage_info stage_end
Definition: mysqld.cc:14328
PSI_stage_info stage_registering_replica_on_source
Definition: mysqld.cc:14350
void thd_mem_cnt_free(THD *thd, size_t size)
Definition: mysqld.cc:1903
size_t mysql_unpacked_real_data_home_len
Definition: mysqld.cc:1518
std::atomic< bool > offline_mode
Definition: mysqld.cc:1293
mysql_mutex_t LOCK_prepared_stmt_count
The below lock protects access to two global server variables: max_prepared_stmt_count and prepared_s...
Definition: mysqld.cc:1592
PSI_socket_key key_socket_tcpip
Definition: mysqld.cc:14513
ulong tc_log_page_size
Definition: mysqld.h:245
bool opt_local_infile
Definition: mysqld.cc:1261
char * mysql_home_ptr
Definition: mysqld.cc:1702
char * lc_messages_dir_ptr
Definition: mysqld.cc:1516
const char * server_build_id_ptr
Definition: mysqld.cc:1495
PSI_file_key key_file_relaylog
Definition: mysqld.cc:14266
PSI_statement_info sql_statement_info[(uint) SQLCOM_END+1]
Statement instrumentation keys (sql).
Definition: mysqld.cc:4754
const char * load_default_groups[]
Definition: mysqld.cc:4137
PSI_mutex_key key_mta_gaq_LOCK
Definition: mysqld.cc:13995
mysql_mutex_t LOCK_sql_replica_skip_counter
Definition: mysqld.cc:1605
mysql_mutex_t LOCK_user_conn
Definition: mysqld.cc:1582
PSI_stage_info stage_flushing_applier_and_connection_metadata
Definition: mysqld.cc:14333
ulong mts_parallel_option
Definition: mysqld.cc:1378
ulong prepared_stmt_count
Definition: mysqld.h:317
uint opt_mta_checkpoint_period
Definition: mysqld.h:244
handlerton * temptable_hton
Definition: mysqld.cc:1273
uint default_password_lifetime
Definition: mysqld.cc:1295
PSI_cond_key key_item_func_sleep_cond
Definition: mysqld.cc:14148
bool super_read_only
Definition: mysqld.cc:1281
int argc_cached
Stores the value of argc during server start up that contains the count of arguments specified by the...
Definition: mysqld.cc:1242
ulong back_log
Definition: mysqld.cc:1354
ulong stored_program_cache_size
Soft upper limit for number of sp_head objects that can be stored in the sp_cache for one connection.
Definition: mysqld.cc:1442
ulong connection_errors_internal
Number of connection errors from internal server errors.
Definition: mysqld.cc:1538
ulonglong max_binlog_cache_size
Definition: mysqld.cc:1380
PSI_stage_info stage_fulltext_initialization
Definition: mysqld.cc:14336
mysql_cond_t COND_rpl_opt_tracker
Definition: mysqld.cc:1621
char * opt_log_error_services
Definition: mysqld.cc:1228
MYSQL_PLUGIN_IMPORT char server_version[SERVER_VERSION_LENGTH]
Definition: mysqld.h:684
int32_t opt_regexp_stack_limit
Definition: mysqld.cc:1323
PSI_file_key key_file_loadfile
Definition: mysqld.cc:14256
PSI_stage_info stage_verifying_table
Definition: mysqld.cc:14382
std::atomic< time_t > last_mixed_non_transactional_engine_warning
Stores the last time the warning for non-composable engine is emitted.
Definition: mysqld.cc:1490
bool opt_noacl
Definition: mysqld.h:223
Time_zone * default_tz
Definition: mysqld.cc:1524
PSI_cond_key key_source_info_start_cond
Definition: mysqld.cc:14150
mysql_component_t mysql_component_performance_schema
enum_server_operational_state get_server_state()
Returns the current state of the server : booting, operational or shutting down.
Definition: mysqld.cc:13875
PSI_statement_info stmt_info_rpl
Statement instrumentation key for replication.
Definition: mysqld.cc:1172
ulong slow_launch_time
Definition: mysqld.cc:1365
void gtid_server_cleanup()
GTID cleanup destroys objects and reset their pointer.
Definition: mysqld.cc:2698
PSI_stage_info stage_replica_reconnecting_after_failed_registration_on_source
Definition: mysqld.cc:14361
PSI_stage_info stage_source_has_sent_all_binlog_to_replica
Definition: mysqld.cc:14342
MYSQL_PLUGIN_IMPORT char * mysql_data_home
Definition: mysqld.cc:1525
PSI_file_key key_file_ERRMSG
Definition: mysqld.cc:14251
PSI_mutex_key key_LOCK_thd_query
Definition: mysqld.cc:13982
query_id_t next_query_id()
Definition: mysqld.h:751
PSI_cond_key key_COND_thr_lock
Definition: mysqld.cc:14164
PSI_cond_key key_gtid_ensure_index_cond
Definition: mysqld.cc:14163
bool opt_keyring_operations
Definition: mysqld.cc:1446
bool opt_replica_allow_batching
Definition: mysqld.cc:1266
PSI_socket_key key_socket_unix
Definition: mysqld.cc:14514
ulonglong log_output_options
Definition: mysqld.cc:1212
bool opt_persist_sensitive_variables_in_plaintext
Definition: mysqld.cc:1241
const char * mysqld_unix_port
Definition: mysqld.cc:1529
MYSQL_PLUGIN_IMPORT char pidfile_name[]
Definition: mysqld.cc:1497
mysql_mutex_t LOCK_mandatory_roles
Definition: mysqld.cc:1301
ulong binlog_stmt_cache_disk_use
Definition: mysqld.h:296
PSI_file_key key_file_log_event_data
Definition: mysqld.cc:14257
enum_binlog_error_action
Definition: mysqld.h:338
@ IGNORE_ERROR
Ignore the error and let server continue without binlogging.
Definition: mysqld.h:340
@ ABORT_SERVER
Abort the server.
Definition: mysqld.h:342
char * opt_protocol_compression_algorithms
Definition: mysqld.cc:1527
PSI_mutex_key key_RELAYLOG_LOCK_sync
Definition: mysqld.cc:13989
PSI_cond_key key_cond_slave_parallel_worker
Definition: mysqld.cc:14160
bool opt_help
Definition: mysqld.cc:1076
bool clone_startup
True, if restarted from a cloned database.
Definition: mysqld.cc:1327
MYSQL_PLUGIN_IMPORT ulong max_connections
Definition: mysqld.cc:1396
PSI_cond_key key_cond_mta_gaq
Definition: mysqld.cc:14161
PSI_mutex_key key_relay_log_info_log_space_lock
Definition: mysqld.cc:13974
PSI_stage_info stage_killing_replica
Definition: mysqld.cc:14338
struct System_status_var * get_thd_status_var(THD *thd, bool *aggregated)
Definition: mysqld.cc:1885
ulong opt_log_throttle_queries_not_using_indexes
Definition: mysqld.cc:1214
char * opt_keyring_migration_password
Definition: mysqld.cc:1231
mysql_mutex_t LOCK_crypt
Definition: mysqld.cc:1581
mysql_mutex_t LOCK_compress_gtid_table
Definition: mysqld.cc:1617
PSI_stage_info stage_wait_on_commit_ticket
Definition: mysqld.cc:14406
ulong max_digest_length
Definition: sql_digest.cc:50
handlerton * heap_hton
Definition: mysqld.cc:1272
PSI_cond_key key_relay_log_info_stop_cond
Definition: mysqld.cc:14157
ulong binlog_error_action
Definition: mysqld.cc:1340
ulong stored_program_def_size
Definition: mysqld.cc:1361
PSI_mutex_key key_RELAYLOG_LOCK_log_end_pos
Definition: mysqld.cc:13988
MYSQL_PLUGIN_IMPORT int orig_argc
Definition: mysqld.h:372
bool opt_large_pages
Definition: mysqld.cc:1290
ulonglong global_conn_memory_status_limit
Definition: mysqld.cc:1404
const mysql_service_dynamic_loader_scheme_file_t * scheme_file_srv
Definition: mysqld.cc:2028
static void set_connection_events_loop_aborted(bool value)
Definition: mysqld.h:763
const double log_10[309]
Definition: mysqld.cc:1450
PSI_stage_info stage_changing_source
Definition: mysqld.cc:14314
bool opt_always_activate_granted_roles
Definition: mysqld.cc:1209
Source_IO_monitor * rpl_source_io_monitor
Definition: mysqld.cc:1554
ulong binlog_stmt_cache_size
Definition: mysqld.h:321
ulong opt_log_timestamps
Definition: mysqld.cc:1347
mysql_mutex_t LOCK_authentication_policy
Definition: mysqld.cc:1644
long opt_check_table_funs
Definition: mysqld.cc:1257
uint select_errors
Definition: mysqld.h:250
PSI_thread_key key_thread_handle_con_admin_sockets
Definition: mysqld.cc:14224
PSI_stage_info stage_rename
Definition: mysqld.cc:14352
ulonglong global_conn_mem_limit
Definition: mysqld.cc:1403
PSI_file_key key_file_relaylog_cache
Definition: mysqld.cc:14267
char * pidfile_name_ptr
Definition: mysqld.h:264
std::atomic< int32 > atomic_replica_open_temp_tables
Definition: mysqld.cc:1366
char default_binlogfile_name[FN_REFLEN]
Definition: mysqld.cc:1500
bool opt_readonly
Definition: mysqld.h:202
ulong log_error_verbosity
Definition: mysqld.cc:1238
PSI_file_key key_file_hash_join
Definition: mysqld.cc:14271
ulong specialflag
Definition: mysqld.cc:1393
mysql_mutex_t LOCK_uuid_generator
Definition: mysqld.cc:1581
struct System_status_var global_status_var
Definition: mysqld.cc:1559
bool opt_skip_show_db
Definition: mysqld.h:170
const char * binlog_checksum_type_names[]
BINLOG_CHECKSUM variable.
Definition: log_event.cc:216
PSI_stage_info stage_communication_delegation
Definition: mysqld.cc:14405
PSI_file_key key_file_dbopt
Definition: mysqld.cc:14250
PSI_stage_info stage_waiting_for_no_channel_reference
Definition: mysqld.cc:14398
const char * default_storage_engine
Definition: mysqld.cc:1195
PSI_stage_info stage_binlog_transaction_decompress
Definition: mysqld.cc:14401
PSI_mutex_key key_RELAYLOG_LOCK_xids
Definition: mysqld.cc:13990
mysql_rwlock_t LOCK_server_shutting_down
Definition: mysqld.cc:1648
void set_mysqld_offline_mode(bool value)
Set offline mode with a given value.
Definition: mysqld.h:791
PSI_stage_info stage_converting_heap_to_ondisk
Definition: mysqld.cc:14321
uint host_cache_size
The size of the host_cache.
Definition: mysqld.cc:1237
PSI_thread_key key_thread_bootstrap
Definition: mysqld.cc:14218
PSI_file_key key_select_to_file
Definition: mysqld.cc:14252
MYSQL_PLUGIN_IMPORT const char * my_localhost
Definition: mysqld.cc:1067
PSI_file_key key_file_tclog
Definition: mysqld.cc:14260
const char * binlog_error_action_list[]
Definition: mysqld.cc:1341
PSI_stage_info stage_preparing
Definition: mysqld.cc:14345
PSI_file_key key_file_binlog_cache
Definition: mysqld.cc:1085
PSI_stage_info stage_setup
Definition: mysqld.cc:14357
MYSQL_PLUGIN_IMPORT char ** orig_argv
Definition: mysqld.h:373
ulong max_binlog_size
Definition: mysqld.cc:1367
mysql_cond_t COND_compress_gtid_table
Definition: mysqld.cc:1618
bool opt_large_files
Definition: mysqld.cc:1069
PSI_mutex_key key_thd_timer_mutex
Definition: mysqld.cc:13996
char ** argv_cached
Stores the value of argv during server start up that contains the vector of arguments specified by th...
Definition: mysqld.cc:1243
bool opt_require_secure_transport
Definition: mysqld.cc:1282
mysql_mutex_t LOCK_replica_net_timeout
Definition: mysqld.cc:1606
PSI_mutex_key key_LOCK_current_cond
Definition: mysqld.cc:13984
PSI_cond_key key_cond_slave_worker_hash
Definition: mysqld.cc:14166
MYSQL_PLUGIN_IMPORT std::atomic< int32 > connection_events_loop_aborted_flag
Definition: mysqld.cc:1224
bool opt_table_encryption_privilege_check
Definition: mysqld.cc:1448
bool opt_log_slow_replica_statements
Definition: mysqld.h:222
bool opt_partial_revokes
Definition: mysqld.cc:1298
PSI_mutex_key key_source_info_sleep_lock
Definition: mysqld.cc:13967
PSI_mutex_key key_LOCK_group_replication_connection_mutex
Definition: mysqld.cc:14001
ulong delayed_queue_size
Definition: mysqld.h:299
bool gtid_server_init()
GTID initialization.
Definition: mysqld.cc:2723
ulonglong global_conn_mem_counter
Definition: mysqld.cc:1405
PSI_file_key key_file_binlog_index_cache
Definition: mysqld.cc:1086
mysql_service_registry_t * srv_registry_no_lock
Definition: mysqld.cc:2022
long opt_binlog_group_commit_sync_delay
Definition: mysqld.cc:1384
PSI_mutex_key key_mutex_replica_worker_hash
Definition: mysqld.cc:13998
ulong opt_ssl_fips_mode
Definition: mysqld.cc:1973
char server_build_id[42]
Definition: build_id_test.cc:30
bool opt_binlog_expire_logs_auto_purge
Definition: mysqld.cc:1437
PSI_stage_info stage_init
Definition: mysqld.cc:14337
ulong locked_account_connection_count
Definition: mysqld.cc:1401
PSI_file_key key_file_binlog
Definition: mysqld.cc:14248
void reset_status_by_thd()
Definition: mysqld.cc:13946
PSI_file_key key_file_log_event_info
Definition: mysqld.cc:14258
PSI_stage_info stage_rpl_failover_wait_before_next_fetch
Definition: mysqld.cc:14404
PSI_cond_key key_source_info_sleep_cond
Definition: mysqld.cc:14152
PSI_stage_info stage_opening_tables
Definition: mysqld.cc:14343
PSI_rwlock_key key_rwlock_resource_group_mgr_map_lock
Definition: mysqld.cc:14113
bool check_proxy_users
Definition: mysqld.cc:1312
PSI_cond_key key_source_info_rotate_cond
Definition: mysqld.cc:14153
PSI_mutex_key key_relay_log_info_thd_lock
Definition: mysqld.cc:13973
PSI_stage_info stage_explaining
Definition: mysqld.cc:14331
char * opt_mysql_tmpdir
Definition: mysqld.cc:1530
void set_remaining_args(int argc, char **argv)
Definition: mysqld.cc:1862
ulong max_relay_log_size
Definition: mysqld.h:326
ulong binlog_row_metadata
Definition: mysqld.cc:1335
bool persisted_globals_load
Definition: mysqld.cc:1444
PSI_mutex_key key_LOG_LOCK_log
Definition: mysqld.cc:13964
PSI_mutex_key key_mta_temp_table_LOCK
Definition: mysqld.cc:13994
PSI_stage_info stage_requesting_binlog_dump
Definition: mysqld.cc:14354
PSI_mutex_key key_LOCK_cost_const
Definition: mysqld.cc:13983
bool relay_log_purge
Definition: mysqld.cc:1283
PSI_stage_info stage_deleting_from_main_table
Definition: mysqld.cc:14325
char * opt_bin_logname
Definition: mysqld.h:262
PSI_mutex_key key_relay_log_info_data_lock
Definition: mysqld.cc:13971
time_t server_start_time
Definition: mysqld.cc:1489
PSI_stage_info stage_waiting_for_source_update
Definition: mysqld.cc:14386
MYSQL_PLUGIN_IMPORT uint lower_case_table_names
Definition: mysqld.cc:1352
ulong current_pid
Definition: mysqld.cc:1432
bool locked_in_memory
Definition: mysqld.cc:1221
PSI_cond_key key_relay_log_info_log_space_cond
Definition: mysqld.cc:14155
PSI_stage_info stage_alter_inplace_commit
Definition: mysqld.cc:14313
PSI_file_key key_file_fileparser
Definition: mysqld.cc:14253
const char * in_left_expr_name
name of reference on left expression in rewritten IN subquery
Definition: mysqld.cc:1535
ulong replica_exec_mode_options
Definition: mysqld.cc:1370
enum_delay_key_write
Definition: mysqld.h:253
@ DELAY_KEY_WRITE_ON
Definition: mysqld.h:255
@ DELAY_KEY_WRITE_NONE
Definition: mysqld.h:254
@ DELAY_KEY_WRITE_ALL
Definition: mysqld.h:256
mysql_mutex_t LOCK_replica_list
Protects slave_list in rpl_source.cc; the list of currently running dump threads with metadata for th...
Definition: mysqld.cc:1598
mysql_mutex_t LOCK_error_messages
Definition: mysqld.cc:1582
bool log_bin_supplied
Definition: mysqld.cc:1487
void clean_up_mysqld_mutexes()
Definition: mysqld.cc:2628
ulong binlog_expire_logs_seconds
Definition: mysqld.cc:1436
PSI_cond_key key_cond_slave_parallel_pend_jobs
Definition: mysqld.cc:14159
PSI_stage_info stage_connecting_to_source
Definition: mysqld.cc:14320
std::atomic< long > atomic_count_hit_query_past_global_conn_mem_status_limit
Definition: mysqld.cc:1406
PSI_stage_info stage_rpl_failover_fetching_source_member_details
Definition: mysqld.cc:14402
PSI_stage_info stage_binlog_transaction_compress
Definition: mysqld.cc:14400
PSI_rwlock_key key_rwlock_LOCK_logger
Definition: mysqld.cc:14101
PSI_file_key key_file_trg
Definition: mysqld.cc:14261
char * opt_init_file
Definition: mysqld.cc:1514
bool relay_log_recovery
Definition: mysqld.cc:1284
PSI_rwlock_key key_rwlock_gtid_mode_lock
Definition: mysqld.cc:1126
PSI_file_key key_file_binlog_index
Definition: mysqld.cc:14249
PSI_cond_key key_COND_pool
Definition: mysqld.cc:14146
bool opt_log_queries_not_using_indexes
Definition: mysqld.cc:1213
PSI_stage_info stage_alter_inplace_prepare
Definition: mysqld.cc:14311
const char * opt_tc_log_file
Definition: mysqld.cc:1515
PSI_stage_info stage_rpl_failover_updating_source_member_details
Definition: mysqld.cc:14403
LEX_STRING opt_init_replica
Definition: mysqld.h:376
PSI_rwlock_key key_rwlock_channel_lock
Definition: mysqld.cc:14103
struct my_option my_long_early_options[]
Definition: mysqld.cc:10800
PSI_thread_key key_thread_handle_manager
Definition: mysqld.cc:14219
char * opt_keyring_migration_destination
Definition: mysqld.cc:1234
uint32 gtid_executed_compression_period
Definition: mysqld.cc:1343
PSI_stage_info stage_starting
Definition: mysqld.cc:14397
bool opt_slow_log
Definition: mysqld.h:165
ulong tc_log_page_waits
Definition: tc_log.cc:307
mysql_rwlock_t LOCK_sys_init_connect
Definition: mysqld.cc:1609
struct System_variables max_system_variables
Definition: mysqld.cc:1558
char * opt_authentication_policy
Definition: mysqld.cc:1532
bool check_and_update_partial_revokes_sysvar(THD *thd)
If there exists at least one restrictions on any user, then update global variables which track the p...
Definition: mysqld.cc:14765
const char * opt_secure_file_priv
Definition: mysqld.cc:1286
mysql_service_registry_registration_t * srv_registry_registration_no_lock
Definition: mysqld.cc:2026
PSI_mutex_key key_source_info_data_lock
Definition: mysqld.cc:13965
bool opt_log_slow_admin_statements
Definition: mysqld.cc:1287
ulong binlog_cache_size
Definition: mysqld.cc:1379
PSI_stage_info stage_freeing_items
Definition: mysqld.cc:14335
LEX_STRING opt_init_connect
Definition: mysqld.cc:1203
ulong binlog_checksum_options
Definition: mysqld.cc:1334
mysql_mutex_t LOCK_admin_tls_ctx_options
Definition: mysqld.cc:1305
bool binlog_gtid_simple_recovery
Definition: mysqld.cc:1339
PSI_stage_info stage_waiting_for_handler_commit
Definition: mysqld.cc:14384
MYSQL_PLUGIN_IMPORT ulong server_id
Definition: mysqld.h:349
char * opt_general_logname
Definition: mysqld.cc:1694
ulong binlog_cache_use
Definition: mysqld.cc:1394
ulong max_connect_errors
Definition: mysqld.cc:1396
uint sync_masterinfo_period
Definition: mysqld.h:244
PSI_stage_info stage_searching_rows_for_update
Definition: mysqld.cc:14355
PSI_stage_info stage_creating_table
Definition: mysqld.cc:14323
const char * log_dia_dest
Definition: mysqld.cc:1509
ulong binlog_cache_disk_use
Definition: mysqld.h:295
ulong max_prepared_stmt_count
Limit of the total number of prepared statements in the server.
Definition: mysqld.cc:1420
ulong sql_rnd_with_mutex()
Definition: mysqld.cc:1877
ulong binlog_row_event_max_size
Definition: mysqld.cc:1333
ulong flush_time
Definition: mysqld.h:316
PSI_thread_key key_thread_parser_service
Definition: mysqld.cc:14223
PSI_stage_info stage_removing_tmp_table
Definition: mysqld.cc:14351
mysql_mutex_t LOCK_tls_ctx_options
Definition: mysqld.cc:1304
int32 opt_binlog_max_flush_queue_time
Definition: mysqld.cc:1383
PSI_stage_info stage_manage_keys
Definition: mysqld.cc:14341
PSI_mutex_key key_source_info_rotate_lock
Definition: mysqld.cc:13969
mysql_service_registry_registration_t * srv_registry_registration
Definition: mysqld.cc:2023
PSI_mutex_key key_hash_filo_lock
Definition: mysqld.cc:13958
bool read_only
Definition: mysqld.cc:1280
PSI_stage_info stage_sql_thd_waiting_until_delay
Definition: mysqld.cc:14375
bool opt_mandatory_roles_cache
Definition: mysqld.cc:1208
PSI_stage_info stage_executing
Definition: mysqld.cc:14329
PSI_stage_info stage_replica_reconnecting_after_failed_binlog_dump_request
Definition: mysqld.cc:14359
PSI_stage_info stage_replica_waiting_worker_queue
Definition: mysqld.cc:14367
PSI_stage_info stage_replica_waiting_worker_to_release_partition
Definition: mysqld.cc:14369
MYSQL_PLUGIN_IMPORT char mysql_real_data_home[]
Definition: mysqld.cc:1513
int32_t opt_regexp_time_limit
Definition: mysqld.cc:1322
PSI_mutex_key key_relay_log_info_run_lock
Definition: mysqld.cc:13975
ulong schema_def_size
Definition: mysqld.cc:1360
ulong replica_max_allowed_packet
Definition: mysqld.cc:1381
PSI_file_key key_file_sdi
Definition: mysqld.cc:14270
mysql_mutex_t LOCK_keyring_operations
Definition: mysqld.cc:1633
PSI_statement_info com_statement_info[(uint) COM_END+1]
Statement instrumentation keys (com).
Definition: mysqld.cc:4755
PSI_stage_info stage_waiting_for_the_replica_thread_to_advance_position
Definition: mysqld.cc:14392
uint opt_mta_checkpoint_group
Definition: mysqld.h:244
enum_replica_type_conversions
Definition: mysqld.h:194
@ REPLICA_TYPE_CONVERSIONS_ALL_UNSIGNED
Definition: mysqld.h:197
@ REPLICA_TYPE_CONVERSIONS_ALL_SIGNED
Definition: mysqld.h:198
@ REPLICA_TYPE_CONVERSIONS_ALL_NON_LOSSY
Definition: mysqld.h:196
@ REPLICA_TYPE_CONVERSIONS_ALL_LOSSY
Definition: mysqld.h:195
bool password_require_current
Definition: mysqld.cc:1296
mysql_mutex_t LOCK_password_history
Definition: mysqld.cc:1302
bool opt_general_log_raw
Definition: mysqld.h:165
bool opt_safe_user_create
Definition: mysqld.cc:1262
PSI_stage_info stage_updating_main_table
Definition: mysqld.cc:14379
PSI_socket_key key_socket_client_connection
Definition: mysqld.cc:14515
bool opt_using_transactions
Definition: mysqld.cc:1222
PSI_stage_info stage_waiting_for_source_to_send_event
Definition: mysqld.cc:14385
PSI_cond_key key_relay_log_info_data_cond
Definition: mysqld.cc:14154
Rpl_global_filter rpl_global_filter
Definition: mysqld.cc:1551
bool opt_verbose
Definition: mysqld.cc:1076
PSI_cond_key key_source_info_stop_cond
Definition: mysqld.cc:14151
PSI_stage_info stage_checking_permissions
Definition: mysqld.cc:14316
PSI_stage_info stage_waiting_for_replica_mutex_on_exit
Definition: mysqld.cc:14388
PSI_thread_key key_thread_rpl_opt_tracker
Definition: mysqld.cc:14222
PSI_cond_key key_COND_group_replication_connection_cond_var
Definition: mysqld.cc:14169
PSI_cond_key key_relay_log_info_start_cond
Definition: mysqld.cc:14156
PSI_stage_info stage_optimizing
Definition: mysqld.cc:14344
char system_time_zone_dst_on[30]
Definition: mysqld.cc:1498
MYSQL_PLUGIN_IMPORT char reg_ext[FN_EXTLEN]
Definition: mysqld.cc:1514
long tc_heuristic_recover
Definition: mysqld.cc:1353
bool connection_events_loop_aborted()
Definition: mysqld.h:758
bool opt_disable_networking
Definition: mysqld.cc:1216
bool listen_admin_interface_in_separate_thread
Definition: mysqld.cc:1193
size_t mysql_data_home_len
Definition: mysqld.cc:1519
static char * path
Definition: mysqldump.cc:150
static char * shared_memory_base_name
Definition: mysqltest.cc:200
ValueType value(const std::optional< ValueType > &v)
Definition: gtid.h:83
size_t size(const char *const c)
Definition: base64.h:46
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Instrumentation helpers for mutexes.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
Performance schema instrumentation interface.
NTService * get_win_service_ptr()
bool is_windows_service()
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:76
#define SERVICE_TYPE_NO_CONST(name)
Generates the standard Service type name.
Definition: service.h:71
Windows NT Service class library.
File containing constants that can be used throughout the server.
constexpr const size_t UUID_LENGTH
Definition: sql_const.h:266
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:83
Definition: mysql_lex_string.h:40
Definition: mysql_lex_string.h:35
Stage instrument information.
Definition: psi_stage_bits.h:74
Statement instrument information.
Definition: psi_statement_bits.h:133
SHOW STATUS Server status variable.
Definition: status_variables_bits.h:81
Per thread status variables.
Definition: system_variables.h:529
Definition: system_variables.h:203
To facilitate calculating values of status variables aggregated per all THDs in real-time,...
Definition: aggregated_stats.h:39
handlerton is a singleton structure - one instance per storage engine - to provide access to storage ...
Definition: handler.h:2765
Definition: my_getopt.h:93
Carries information on the specific Component, all Service Implementations it provides,...
Definition: dynamic_loader.h:263
An instrumented cond structure.
Definition: mysql_cond_bits.h:50
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50
An instrumented rwlock structure.
Definition: mysql_rwlock_bits.h:51
Definition: mysql_com.h:1110
Definition: violite.h:256
Include file for Sun RPC to compile out of the box.