MySQL  8.0.19
Source Code Documentation
server_component.cc File Reference
#include <mysql/components/component_implementation.h>
#include <mysql/components/my_service.h>
#include <mysql/components/services/mysql_cond_service.h>
#include <mysql/components/services/mysql_mutex_service.h>
#include <mysql/components/services/mysql_runtime_error_service.h>
#include <mysql/components/services/mysql_rwlock_service.h>
#include <stddef.h>
#include <new>
#include <stdexcept>
#include <components/mysql_server/mysql_page_track.h>
#include "audit_api_message_service_imp.h"
#include "component_status_var_service.h"
#include "component_sys_var_service.h"
#include "dynamic_loader.h"
#include "dynamic_loader_path_filter.h"
#include "dynamic_loader_scheme_file.h"
#include "host_application_signal_imp.h"
#include "keyring_iterator_service_imp.h"
#include "log_builtins_filter_imp.h"
#include "log_builtins_imp.h"
#include "my_inttypes.h"
#include "mysql_backup_lock.h"
#include "mysql_clone_protocol.h"
#include "mysql_connection_attributes_iterator_imp.h"
#include "mysql_current_thread_reader_imp.h"
#include "mysql_ongoing_transaction_query.h"
#include "mysql_runtime_error_imp.h"
#include "mysql_string_service.h"
#include "mysqld_error.h"
#include "persistent_dynamic_loader.h"
#include "registry.h"
#include "security_context_imp.h"
#include "server_component.h"
#include "sql/auth/dynamic_privileges_impl.h"
#include "sql/log.h"
#include "sql/server_component/mysql_admin_session_imp.h"
#include "sql/udf_registration_imp.h"
#include "system_variable_source_imp.h"
#include "udf_metadata_imp.h"
#include "mysql/components/services/log_builtins.h"

Functions

const mysql_service_mysql_mutex_v1_t SERVICE_IMPLEMENTATION (mysql_server, mysql_mutex_v1)
 
const mysql_service_mysql_rwlock_v1_t SERVICE_IMPLEMENTATION (mysql_server, mysql_rwlock_v1)
 
 PROVIDES_SERVICE (mysql_server, registry)
 
 PROVIDES_SERVICE (mysql_server, registry_registration)
 
 PROVIDES_SERVICE (mysql_server, registry_query)
 
 PROVIDES_SERVICE (mysql_server, registry_metadata_enumerate)
 
 PROVIDES_SERVICE (mysql_server, registry_metadata_query)
 
 PROVIDES_SERVICE (mysql_server, dynamic_loader)
 
 PROVIDES_SERVICE (mysql_server_path_filter, dynamic_loader_scheme_file)
 
 PROVIDES_SERVICE (mysql_server, persistent_dynamic_loader)
 
 PROVIDES_SERVICE (mysql_server, dynamic_loader_query)
 
 PROVIDES_SERVICE (mysql_server, dynamic_loader_metadata_enumerate)
 
 PROVIDES_SERVICE (mysql_server, dynamic_loader_metadata_query)
 
 PROVIDES_SERVICE (mysql_server, dynamic_loader_scheme_file)
 
 PROVIDES_SERVICE (mysql_server, dynamic_privilege_register)
 
 PROVIDES_SERVICE (mysql_server, global_grants_check)
 
 PROVIDES_SERVICE (mysql_server, mysql_string_factory)
 
 PROVIDES_SERVICE (mysql_server, mysql_string_case)
 
 PROVIDES_SERVICE (mysql_server, mysql_string_converter)
 
 PROVIDES_SERVICE (mysql_server, mysql_string_character_access)
 
 PROVIDES_SERVICE (mysql_server, mysql_string_byte_access)
 
 PROVIDES_SERVICE (mysql_server, mysql_string_iterator)
 
 PROVIDES_SERVICE (mysql_server, mysql_string_ctype)
 
 PROVIDES_SERVICE (mysql_server, log_builtins)
 
 PROVIDES_SERVICE (mysql_server, log_builtins_filter)
 
 PROVIDES_SERVICE (mysql_server, log_builtins_filter_debug)
 
 PROVIDES_SERVICE (mysql_server, log_builtins_string)
 
 PROVIDES_SERVICE (mysql_server, log_builtins_tmp)
 
 PROVIDES_SERVICE (mysql_server, log_builtins_syseventlog)
 
 PROVIDES_SERVICE (mysql_server, udf_registration)
 
 PROVIDES_SERVICE (mysql_server, udf_registration_aggregate)
 
 PROVIDES_SERVICE (mysql_server, mysql_udf_metadata)
 
 PROVIDES_SERVICE (mysql_server, component_sys_variable_register)
 
 PROVIDES_SERVICE (mysql_server, component_sys_variable_unregister)
 
 PROVIDES_SERVICE (mysql_server, mysql_cond_v1)
 
 PROVIDES_SERVICE (mysql_server, mysql_mutex_v1)
 
 PROVIDES_SERVICE (mysql_server, mysql_rwlock_v1)
 
 PROVIDES_SERVICE (mysql_server, status_variable_registration)
 
 PROVIDES_SERVICE (mysql_server, system_variable_source)
 
 PROVIDES_SERVICE (mysql_server, mysql_backup_lock)
 
 PROVIDES_SERVICE (mysql_server, clone_protocol)
 
 PROVIDES_SERVICE (mysql_server, mysql_thd_security_context)
 
 PROVIDES_SERVICE (mysql_server, mysql_security_context_factory)
 
 PROVIDES_SERVICE (mysql_server, mysql_account_database_security_context_lookup)
 
 PROVIDES_SERVICE (mysql_server, mysql_security_context_options)
 
 PROVIDES_SERVICE (mysql_server, mysql_ongoing_transactions_query)
 
 PROVIDES_SERVICE (mysql_server, host_application_signal)
 
 PROVIDES_SERVICE (mysql_server, mysql_audit_api_message)
 
 PROVIDES_SERVICE (mysql_server, mysql_page_track)
 
 PROVIDES_SERVICE (mysql_server, mysql_runtime_error)
 
 PROVIDES_SERVICE (mysql_server, mysql_current_thread_reader)
 
 PROVIDES_SERVICE (mysql_server, mysql_keyring_iterator)
 
 PROVIDES_SERVICE (mysql_server, mysql_admin_session)
 
 PROVIDES_SERVICE (mysql_server, mysql_connection_attributes_iterator)
 
 END_COMPONENT_PROVIDES ()
 
static BEGIN_COMPONENT_REQUIRES (mysql_server) END_COMPONENT_REQUIRES()
 
 METADATA ("mysql.author", "Oracle Corporation")
 
 METADATA ("mysql.license", "GPL")
 
 END_COMPONENT_METADATA ()
 
bool mysql_services_bootstrap (const mysql_service_registry_t **registry)
 Bootstraps service registry and dynamic loader and make ready all basic server services. More...
 
void shutdown_dynamic_loader ()
 Shutdowns dynamic loader. More...
 
bool mysql_services_shutdown ()
 Shutdowns service registry making sure all basic services are unregistered. More...
 
void mysql_components_handle_std_exception (const char *funcname)
 Checks if last thrown exception is any kind of standard exceptions, i.e. More...
 

Variables

const mysql_service_mysql_cond_v1_t SERVICE_IMPLEMENTATION (mysql_server, mysql_cond_v1)
 
const mysql_service_registry_t imp_mysql_server_registry
 
const mysql_service_registry_registration_t imp_mysql_server_registry_registration
 
const mysql_service_registry_query_t imp_mysql_server_registry_query
 
const mysql_service_registry_metadata_enumerate_t imp_mysql_server_registry_metadata_enumerate
 
const mysql_service_registry_metadata_query_t imp_mysql_server_registry_metadata_query
 
const mysql_service_dynamic_loader_t imp_mysql_server_dynamic_loader
 
const mysql_service_dynamic_loader_query_t imp_mysql_server_dynamic_loader_query
 
const mysql_service_dynamic_loader_metadata_enumerate_t imp_mysql_server_dynamic_loader_metadata_enumerate
 
const mysql_service_dynamic_loader_metadata_query_t imp_mysql_server_dynamic_loader_metadata_query
 
const mysql_service_dynamic_loader_scheme_file_t imp_mysql_server_path_filter_dynamic_loader_scheme_file
 
const mysql_service_dynamic_loader_scheme_file_t imp_mysql_server_dynamic_loader_scheme_file
 
const mysql_service_persistent_dynamic_loader_t imp_mysql_server_persistent_dynamic_loader
 
const mysql_service_dynamic_privilege_register_t imp_mysql_server_dynamic_privilege_register
 
const mysql_service_global_grants_check_t imp_mysql_server_global_grants_check
 
const mysql_service_mysql_string_factory_t imp_mysql_server_mysql_string_factory
 
const mysql_service_mysql_string_case_t imp_mysql_server_mysql_string_case
 
const mysql_service_mysql_string_converter_t imp_mysql_server_mysql_string_converter
 
const mysql_service_mysql_string_character_access_t imp_mysql_server_mysql_string_character_access
 
const mysql_service_mysql_string_byte_access_t imp_mysql_server_mysql_string_byte_access
 
const mysql_service_mysql_string_iterator_t imp_mysql_server_mysql_string_iterator
 
const mysql_service_mysql_string_ctype_t imp_mysql_server_mysql_string_ctype
 
const mysql_service_log_builtins_t imp_mysql_server_log_builtins
 
const mysql_service_log_builtins_filter_t imp_mysql_server_log_builtins_filter
 
const mysql_service_log_builtins_filter_debug_t imp_mysql_server_log_builtins_filter_debug
 
const mysql_service_log_builtins_string_t imp_mysql_server_log_builtins_string
 
const mysql_service_log_builtins_tmp_t imp_mysql_server_log_builtins_tmp
 
const mysql_service_log_builtins_syseventlog_t imp_mysql_server_log_builtins_syseventlog
 
const mysql_service_udf_registration_t imp_mysql_server_udf_registration
 
const mysql_service_udf_registration_aggregate_t imp_mysql_server_udf_registration_aggregate
 
const mysql_service_mysql_udf_metadata_t imp_mysql_server_mysql_udf_metadata
 
const mysql_service_component_sys_variable_register_t imp_mysql_server_component_sys_variable_register
 
const mysql_service_mysql_connection_attributes_iterator_t imp_mysql_server_mysql_connection_attributes_iterator
 
const mysql_service_component_sys_variable_unregister_t imp_mysql_server_component_sys_variable_unregister
 
const mysql_service_status_variable_registration_t imp_mysql_server_status_variable_registration
 
const mysql_service_system_variable_source_t imp_mysql_server_system_variable_source
 
const mysql_service_mysql_backup_lock_t imp_mysql_server_mysql_backup_lock
 
const mysql_service_clone_protocol_t imp_mysql_server_clone_protocol
 
const mysql_service_mysql_thd_security_context_t imp_mysql_server_mysql_thd_security_context
 
const mysql_service_mysql_security_context_factory_t imp_mysql_server_mysql_security_context_factory
 
const mysql_service_mysql_account_database_security_context_lookup_t imp_mysql_server_mysql_account_database_security_context_lookup
 
const mysql_service_mysql_security_context_options_t imp_mysql_server_mysql_security_context_options
 
const mysql_service_mysql_ongoing_transactions_query_t imp_mysql_server_mysql_ongoing_transactions_query
 
const mysql_service_host_application_signal_t imp_mysql_server_host_application_signal
 
const mysql_service_mysql_audit_api_message_t imp_mysql_server_mysql_audit_api_message
 
const mysql_service_mysql_page_track_t imp_mysql_server_mysql_page_track
 
const mysql_service_mysql_runtime_error_t imp_mysql_server_mysql_runtime_error
 
const mysql_service_mysql_current_thread_reader_t imp_mysql_server_mysql_current_thread_reader
 
const mysql_service_mysql_keyring_iterator_t imp_mysql_server_mysql_keyring_iterator
 
const mysql_service_mysql_admin_session_t imp_mysql_server_mysql_admin_session
 
mysql_component_t mysql_component_mysql_server
 

Function Documentation

◆ BEGIN_COMPONENT_REQUIRES()

static BEGIN_COMPONENT_REQUIRES ( mysql_server  )
static

◆ END_COMPONENT_METADATA()

END_COMPONENT_METADATA ( )

◆ END_COMPONENT_PROVIDES()

END_COMPONENT_PROVIDES ( )

◆ METADATA() [1/2]

METADATA ( "mysql.author"  ,
"Oracle Corporation"   
)

◆ METADATA() [2/2]

METADATA ( "mysql.license"  ,
"GPL"   
)

◆ mysql_components_handle_std_exception()

void mysql_components_handle_std_exception ( const char *  funcname)

Checks if last thrown exception is any kind of standard exceptions, i.e.

the exceptions inheriting from std::exception. If so, reports an error message that states exception type and message. On any other thrown value it just reports general error.

◆ mysql_services_bootstrap()

bool mysql_services_bootstrap ( const mysql_service_registry_t **  registry)

Bootstraps service registry and dynamic loader and make ready all basic server services.

Parameters
[out]registryA service handle to registry service. May be NULL.
Returns
Status of performed operation
Return values
falsesuccess
truefailure

◆ mysql_services_shutdown()

bool mysql_services_shutdown ( )

Shutdowns service registry making sure all basic services are unregistered.

Will fail if any service implementation is in use.

Returns
Status of performed operation
Return values
falsesuccess
truefailure

◆ PROVIDES_SERVICE() [1/52]

PROVIDES_SERVICE ( mysql_server  ,
clone_protocol   
)

◆ PROVIDES_SERVICE() [2/52]

PROVIDES_SERVICE ( mysql_server  ,
component_sys_variable_register   
)

◆ PROVIDES_SERVICE() [3/52]

PROVIDES_SERVICE ( mysql_server  ,
component_sys_variable_unregister   
)

◆ PROVIDES_SERVICE() [4/52]

PROVIDES_SERVICE ( mysql_server  ,
dynamic_loader   
)

◆ PROVIDES_SERVICE() [5/52]

PROVIDES_SERVICE ( mysql_server  ,
dynamic_loader_metadata_enumerate   
)

◆ PROVIDES_SERVICE() [6/52]

PROVIDES_SERVICE ( mysql_server  ,
dynamic_loader_metadata_query   
)

◆ PROVIDES_SERVICE() [7/52]

PROVIDES_SERVICE ( mysql_server  ,
dynamic_loader_query   
)

◆ PROVIDES_SERVICE() [8/52]

PROVIDES_SERVICE ( mysql_server  ,
dynamic_loader_scheme_file   
)

◆ PROVIDES_SERVICE() [9/52]

PROVIDES_SERVICE ( mysql_server  ,
dynamic_privilege_register   
)

◆ PROVIDES_SERVICE() [10/52]

PROVIDES_SERVICE ( mysql_server  ,
global_grants_check   
)

◆ PROVIDES_SERVICE() [11/52]

PROVIDES_SERVICE ( mysql_server  ,
host_application_signal   
)

◆ PROVIDES_SERVICE() [12/52]

PROVIDES_SERVICE ( mysql_server  ,
log_builtins   
)

◆ PROVIDES_SERVICE() [13/52]

PROVIDES_SERVICE ( mysql_server  ,
log_builtins_filter   
)

◆ PROVIDES_SERVICE() [14/52]

PROVIDES_SERVICE ( mysql_server  ,
log_builtins_filter_debug   
)

◆ PROVIDES_SERVICE() [15/52]

PROVIDES_SERVICE ( mysql_server  ,
log_builtins_string   
)

◆ PROVIDES_SERVICE() [16/52]

PROVIDES_SERVICE ( mysql_server  ,
log_builtins_syseventlog   
)

◆ PROVIDES_SERVICE() [17/52]

PROVIDES_SERVICE ( mysql_server  ,
log_builtins_tmp   
)

◆ PROVIDES_SERVICE() [18/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_account_database_security_context_lookup   
)

◆ PROVIDES_SERVICE() [19/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_admin_session   
)

◆ PROVIDES_SERVICE() [20/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_audit_api_message   
)

◆ PROVIDES_SERVICE() [21/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_backup_lock   
)

◆ PROVIDES_SERVICE() [22/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_cond_v1   
)

◆ PROVIDES_SERVICE() [23/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_connection_attributes_iterator   
)

◆ PROVIDES_SERVICE() [24/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_current_thread_reader   
)

◆ PROVIDES_SERVICE() [25/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_keyring_iterator   
)

◆ PROVIDES_SERVICE() [26/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_mutex_v1   
)

◆ PROVIDES_SERVICE() [27/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_ongoing_transactions_query   
)

◆ PROVIDES_SERVICE() [28/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_page_track   
)

◆ PROVIDES_SERVICE() [29/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_runtime_error   
)

◆ PROVIDES_SERVICE() [30/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_rwlock_v1   
)

◆ PROVIDES_SERVICE() [31/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_security_context_factory   
)

◆ PROVIDES_SERVICE() [32/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_security_context_options   
)

◆ PROVIDES_SERVICE() [33/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_string_byte_access   
)

◆ PROVIDES_SERVICE() [34/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_string_case   
)

◆ PROVIDES_SERVICE() [35/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_string_character_access   
)

◆ PROVIDES_SERVICE() [36/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_string_converter   
)

◆ PROVIDES_SERVICE() [37/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_string_ctype   
)

◆ PROVIDES_SERVICE() [38/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_string_factory   
)

◆ PROVIDES_SERVICE() [39/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_string_iterator   
)

◆ PROVIDES_SERVICE() [40/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_thd_security_context   
)

◆ PROVIDES_SERVICE() [41/52]

PROVIDES_SERVICE ( mysql_server  ,
mysql_udf_metadata   
)

◆ PROVIDES_SERVICE() [42/52]

PROVIDES_SERVICE ( mysql_server  ,
persistent_dynamic_loader   
)

◆ PROVIDES_SERVICE() [43/52]

PROVIDES_SERVICE ( mysql_server  ,
registry   
)

◆ PROVIDES_SERVICE() [44/52]

PROVIDES_SERVICE ( mysql_server  ,
registry_metadata_enumerate   
)

◆ PROVIDES_SERVICE() [45/52]

PROVIDES_SERVICE ( mysql_server  ,
registry_metadata_query   
)

◆ PROVIDES_SERVICE() [46/52]

PROVIDES_SERVICE ( mysql_server  ,
registry_query   
)

◆ PROVIDES_SERVICE() [47/52]

PROVIDES_SERVICE ( mysql_server  ,
registry_registration   
)

◆ PROVIDES_SERVICE() [48/52]

PROVIDES_SERVICE ( mysql_server  ,
status_variable_registration   
)

◆ PROVIDES_SERVICE() [49/52]

PROVIDES_SERVICE ( mysql_server  ,
system_variable_source   
)

◆ PROVIDES_SERVICE() [50/52]

PROVIDES_SERVICE ( mysql_server  ,
udf_registration   
)

◆ PROVIDES_SERVICE() [51/52]

PROVIDES_SERVICE ( mysql_server  ,
udf_registration_aggregate   
)

◆ PROVIDES_SERVICE() [52/52]

PROVIDES_SERVICE ( mysql_server_path_filter  ,
dynamic_loader_scheme_file   
)

◆ SERVICE_IMPLEMENTATION() [1/2]

const mysql_service_mysql_mutex_v1_t SERVICE_IMPLEMENTATION ( mysql_server  ,
mysql_mutex_v1   
)

◆ SERVICE_IMPLEMENTATION() [2/2]

const mysql_service_mysql_rwlock_v1_t SERVICE_IMPLEMENTATION ( mysql_server  ,
mysql_rwlock_v1   
)

◆ shutdown_dynamic_loader()

void shutdown_dynamic_loader ( )

Shutdowns dynamic loader.

Variable Documentation

◆ imp_mysql_server_clone_protocol

◆ imp_mysql_server_component_sys_variable_register

◆ imp_mysql_server_component_sys_variable_unregister

const mysql_service_component_sys_variable_unregister_t imp_mysql_server_component_sys_variable_unregister

◆ imp_mysql_server_dynamic_loader

const mysql_service_dynamic_loader_t imp_mysql_server_dynamic_loader

◆ imp_mysql_server_dynamic_loader_metadata_enumerate

const mysql_service_dynamic_loader_metadata_enumerate_t imp_mysql_server_dynamic_loader_metadata_enumerate
Initial value:
= {
mysql_dynamic_loader_imp::metadata_iterator_create,
mysql_dynamic_loader_imp::metadata_iterator_get,
mysql_dynamic_loader_imp::metadata_iterator_next,
mysql_dynamic_loader_imp::metadata_iterator_is_valid,
mysql_dynamic_loader_imp::metadata_iterator_release
}

◆ imp_mysql_server_dynamic_loader_metadata_query

const mysql_service_dynamic_loader_metadata_query_t imp_mysql_server_dynamic_loader_metadata_query
Initial value:
= {
mysql_dynamic_loader_imp::metadata_get_value, }

◆ imp_mysql_server_dynamic_loader_query

◆ imp_mysql_server_dynamic_loader_scheme_file

◆ imp_mysql_server_dynamic_privilege_register

◆ imp_mysql_server_global_grants_check

const mysql_service_global_grants_check_t imp_mysql_server_global_grants_check

◆ imp_mysql_server_host_application_signal

const mysql_service_host_application_signal_t imp_mysql_server_host_application_signal

◆ imp_mysql_server_log_builtins

const mysql_service_log_builtins_t imp_mysql_server_log_builtins

◆ imp_mysql_server_log_builtins_filter

◆ imp_mysql_server_log_builtins_filter_debug

const mysql_service_log_builtins_filter_debug_t imp_mysql_server_log_builtins_filter_debug

◆ imp_mysql_server_log_builtins_string

◆ imp_mysql_server_log_builtins_syseventlog

◆ imp_mysql_server_log_builtins_tmp

const mysql_service_log_builtins_tmp_t imp_mysql_server_log_builtins_tmp

◆ imp_mysql_server_mysql_account_database_security_context_lookup

const mysql_service_mysql_account_database_security_context_lookup_t imp_mysql_server_mysql_account_database_security_context_lookup

◆ imp_mysql_server_mysql_admin_session

const mysql_service_mysql_admin_session_t imp_mysql_server_mysql_admin_session

◆ imp_mysql_server_mysql_audit_api_message

const mysql_service_mysql_audit_api_message_t imp_mysql_server_mysql_audit_api_message
Initial value:

◆ imp_mysql_server_mysql_backup_lock

const mysql_service_mysql_backup_lock_t imp_mysql_server_mysql_backup_lock

◆ imp_mysql_server_mysql_connection_attributes_iterator

◆ imp_mysql_server_mysql_current_thread_reader

const mysql_service_mysql_current_thread_reader_t imp_mysql_server_mysql_current_thread_reader

◆ imp_mysql_server_mysql_keyring_iterator

◆ imp_mysql_server_mysql_ongoing_transactions_query

const mysql_service_mysql_ongoing_transactions_query_t imp_mysql_server_mysql_ongoing_transactions_query

◆ imp_mysql_server_mysql_page_track

◆ imp_mysql_server_mysql_runtime_error

const mysql_service_mysql_runtime_error_t imp_mysql_server_mysql_runtime_error

◆ imp_mysql_server_mysql_security_context_factory

◆ imp_mysql_server_mysql_security_context_options

const mysql_service_mysql_security_context_options_t imp_mysql_server_mysql_security_context_options

◆ imp_mysql_server_mysql_string_byte_access

const mysql_service_mysql_string_byte_access_t imp_mysql_server_mysql_string_byte_access

◆ imp_mysql_server_mysql_string_case

const mysql_service_mysql_string_case_t imp_mysql_server_mysql_string_case

◆ imp_mysql_server_mysql_string_character_access

const mysql_service_mysql_string_character_access_t imp_mysql_server_mysql_string_character_access

◆ imp_mysql_server_mysql_string_converter

◆ imp_mysql_server_mysql_string_ctype

◆ imp_mysql_server_mysql_string_factory

const mysql_service_mysql_string_factory_t imp_mysql_server_mysql_string_factory

◆ imp_mysql_server_mysql_string_iterator

◆ imp_mysql_server_mysql_thd_security_context

const mysql_service_mysql_thd_security_context_t imp_mysql_server_mysql_thd_security_context

◆ imp_mysql_server_mysql_udf_metadata

◆ imp_mysql_server_path_filter_dynamic_loader_scheme_file

◆ imp_mysql_server_persistent_dynamic_loader

◆ imp_mysql_server_registry

◆ imp_mysql_server_registry_metadata_enumerate

const mysql_service_registry_metadata_enumerate_t imp_mysql_server_registry_metadata_enumerate
Initial value:
= {
mysql_registry_imp::metadata_iterator_create,
mysql_registry_imp::metadata_iterator_get,
mysql_registry_imp::metadata_iterator_next,
mysql_registry_imp::metadata_iterator_is_valid,
mysql_registry_imp::metadata_iterator_release, }

◆ imp_mysql_server_registry_metadata_query

const mysql_service_registry_metadata_query_t imp_mysql_server_registry_metadata_query
Initial value:
= {
mysql_registry_imp::metadata_get_value, }

◆ imp_mysql_server_registry_query

◆ imp_mysql_server_registry_registration

◆ imp_mysql_server_status_variable_registration

◆ imp_mysql_server_system_variable_source

const mysql_service_system_variable_source_t imp_mysql_server_system_variable_source

◆ imp_mysql_server_udf_registration

◆ imp_mysql_server_udf_registration_aggregate

◆ mysql_component_mysql_server

mysql_component_t mysql_component_mysql_server
Initial value:
= { "mysql:core" , __mysql_server_provides, __mysql_server_requires, __mysql_server_metadata,

◆ SERVICE_IMPLEMENTATION

const mysql_service_mysql_rwlock_v1_t SERVICE_IMPLEMENTATION(mysql_server, mysql_rwlock_v1) ( mysql_server  ,
mysql_cond_v1   
)
dynamic_privilege_services_impl::register_privilege
static mysql_service_status_t register_privilege(const char *privilege_str, size_t privilege_str_len) noexcept
Register a privilege identifiers in the list of known identifiers.
Definition: dynamic_privileges_impl.cc:101
mysql_status_variable_registration_imp::unregister_variable
static mysql_service_status_t unregister_variable(SHOW_VAR *status_var) noexcept
Unregister's status variable.
Definition: component_status_var_service.cc:70
Page_track_implementation::stop
static int stop(THD *opaque_thd, Page_Track_SE se_type, uint64_t *stop_id) noexcept
Service API to stop page tracking.
Definition: page_track_service.cc:59
log_builtins_string_imp::find_last
static char * find_last(const char *s, int c) noexcept
Wrapper for strrchr() - find character in string, from the right.
Definition: log_builtins.cc:3552
mysql_clone_send_command
int mysql_clone_send_command(THD *thd, MYSQL *connection, bool set_active, uchar command, uchar *com_buffer, size_t buffer_length) noexcept
Execute clone command on remote server.
Definition: clone_protocol_service.cc:361
mysql_status_variable_registration_imp::register_variable
static mysql_service_status_t register_variable(SHOW_VAR *status_var) noexcept
Register status variable.
Definition: component_status_var_service.cc:50
log_builtins_string_imp::malloc
static void * malloc(size_t len) noexcept
Wrapper for my_malloc()
Definition: log_builtins.cc:3508
mysql_security_context_imp::set
static mysql_service_status_t set(void *_thd, Security_context_handle in_ctx) noexcept
Sets a new security context for the thread.
Definition: security_context_imp.cc:72
mysql_string_imp::is_upper
static mysql_service_status_t is_upper(my_h_string_iterator iter, bool *out) noexcept
Checks if character on current position the iterator points to is an upper case.
Definition: mysql_string_service.cc:435
mysql_udf_metadata_imp::result_get
static mysql_service_status_t result_get(UDF_INIT *udf_init, const char *extension_type, void **argument) noexcept
Definition: udf_metadata_imp.cc:129
mysql_security_context_imp::copy
static mysql_service_status_t copy(Security_context_handle in_ctx, Security_context_handle *out_ctx) noexcept
Duplicates a security context.
Definition: security_context_imp.cc:141
mysql_clone_get_command
int mysql_clone_get_command(THD *thd, uchar *command, uchar **com_buffer, size_t *buffer_length) noexcept
Get command from client.
Definition: clone_protocol_service.cc:537
mysql_string_imp::is_lower
static mysql_service_status_t is_lower(my_h_string_iterator iter, bool *out) noexcept
Checks if character on current position the iterator points to is a lower case.
Definition: mysql_string_service.cc:459
NULL
#define NULL
Definition: types.h:55
mysql_string_imp::iterator_create
static mysql_service_status_t iterator_create(my_h_string string, my_h_string_iterator *out_iterator) noexcept
Creates an iterator for a specified string to allow iteration through all characters in the string.
Definition: mysql_string_service.cc:349
mysql_dynamic_loader_scheme_file_path_filter_imp::unload
static mysql_service_status_t unload(const char *urn) noexcept
Checks if path specified to load is contained in plug-in directory and change it to absolute one usin...
Definition: dynamic_loader_path_filter.cc:79
mysql_string_imp::get_char_length
static mysql_service_status_t get_char_length(my_h_string string, uint *out_length) noexcept
Gets length of specified string expressed as number of characters.
Definition: mysql_string_service.cc:276
mysql_string_imp::create
static mysql_service_status_t create(my_h_string *out_string) noexcept
Creates a new instance of string object.
Definition: mysql_string_service.cc:65
mysql_clone_validate_configs
int mysql_clone_validate_configs(THD *thd, Mysql_Clone_Key_Values &configs) noexcept
Check if configuration parameter values match.
Definition: clone_protocol_service.cc:199
mysql_dynamic_loader_imp::load
static mysql_service_status_t load(const char *urns[], int component_count) noexcept
Loads specified group of Components by URN, initializes them and registers all Service Implementation...
Definition: dynamic_loader.cc:363
mysql_dynamic_loader_imp::unload
static mysql_service_status_t unload(const char *urns[], int component_count) noexcept
Unloads specified group of Components by URN, deinitializes them and unregisters all Service Implemen...
Definition: dynamic_loader.cc:410
mysql_component_sys_variable_imp::unregister_variable
static mysql_service_status_t unregister_variable(const char *component_name, const char *var_name) noexcept
Unregister's component system variable.
Definition: component_sys_var_service.cc:517
log_builtins_filter_imp::filter_ruleset_free
static void filter_ruleset_free(log_filter_ruleset **ruleset) noexcept
Free an entire filter rule-set.
Definition: log_builtins_filter.cc:1019
mysql_udf_metadata_imp::argument_set
static mysql_service_status_t argument_set(UDF_ARGS *udf_args, const char *extension_type, unsigned int index, void *in_value) noexcept
Definition: udf_metadata_imp.cc:41
log_builtins_filter_debug_imp::filter_debug_ruleset_get
static log_filter_ruleset * filter_debug_ruleset_get(void) noexcept
Get filter rules used in built-in filter.
Definition: log_builtins_filter.cc:1057
dynamic_privilege_services_impl::has_global_grant
static mysql_service_status_t has_global_grant(Security_context_handle, const char *privilege_str, size_t privilege_str_len) noexcept
Check if the supplied security context has the specified privilege identifier granted to it.
Definition: dynamic_privileges_impl.cc:164
mysql_persistent_dynamic_loader_imp::unload
static mysql_service_status_t unload(void *thd_ptr, const char *urns[], int component_count) noexcept
Unloads specified group of Components by URN, deinitializes them and unregisters all service implemen...
Definition: persistent_dynamic_loader.cc:445
mysql_clone_get_error
void mysql_clone_get_error(THD *thd, uint32_t *err_num, const char **err_mesg) noexcept
Get error number and message.
Definition: clone_protocol_service.cc:517
mysql_connection_attributes_iterator_imp::get
static mysql_service_status_t get(THD *opaque_thd, my_h_connection_attributes_iterator *iterator, const char **name, size_t *name_length, const char **value, size_t *value_length, const char **client_charset) noexcept
Fetch the current name/value pair from the iterator and move it forward.
Definition: mysql_connection_attributes_iterator_imp.cc:153
mysql_security_context_imp::get
static mysql_service_status_t get(void *_thd, Security_context_handle *out_ctx) noexcept
Gets the security context for the thread.
Definition: security_context_imp.cc:48
mysql_component_sys_variable_imp::get_variable
static mysql_service_status_t get_variable(const char *component_name, const char *var_name, void **val, size_t *out_length_of_val) noexcept
Get the component system variable value from the global structure.
Definition: component_sys_var_service.cc:477
log_builtins_filter_imp::filter_run
static int filter_run(log_filter_ruleset *ruleset, log_line *ll) noexcept
Apply all matching rules from a filter rule set to a given log line.
Definition: log_builtins_filter.cc:1052
mysql_udf_metadata_imp::result_set
static mysql_service_status_t result_set(UDF_INIT *udf_init, const char *extension_type, void *argument) noexcept
Definition: udf_metadata_imp.cc:75
log_builtins_string_imp::free
static void free(void *ptr) noexcept
Wrapper for my_free() - free allocated memory.
Definition: log_builtins.cc:3529
mysql_system_variable_source_imp::get
static mysql_service_status_t get(const char *name, unsigned int length, enum enum_variable_source *source) noexcept
Get source information of given system variable.
Definition: system_variable_source_imp.cc:43
mysql_registry_imp::iterator_is_valid
static mysql_service_status_t iterator_is_valid(my_h_service_iterator iterator) noexcept
Checks if specified iterator is valid, i.e.
Definition: registry.cc:627
mysql_audit_api_message_imp::emit
static mysql_service_status_t emit(mysql_event_message_subclass_t type, const char *component, size_t component_length, const char *producer, size_t producer_length, const char *message, size_t message_length, mysql_event_message_key_value_t *key_value_map, size_t key_value_map_length) noexcept
Method that generates Audit API message event.
Definition: audit_api_message_service_imp.cc:38
mysql_dynamic_loader_scheme_file_imp::unload
static mysql_service_status_t unload(const char *urn) noexcept
Unloads file that was previously loaded.
Definition: dynamic_loader_scheme_file.cc:173
mysql_string_imp::convert_to_buffer
static mysql_service_status_t convert_to_buffer(my_h_string in_string, char *out_buffer, uint64 length, const char *charset_name) noexcept
converts the mysql_string to the character set specified by charset_name parameter.
Definition: mysql_string_service.cc:198
mysql_component_host_application_signal_imp::signal
static mysql_service_status_t signal(int signal_no, void *arg) noexcept
Process signals for the mysql server binary.
Definition: host_application_signal_imp.cc:57
mysql_dynamic_loader_imp::iterator_next
static mysql_service_status_t iterator_next(my_h_component_iterator iterator) noexcept
Advances specified iterator to next element.
Definition: dynamic_loader.cc:545
mysql_string_imp::iterator_destroy
static void iterator_destroy(my_h_string_iterator iter) noexcept
Releases the string iterator object specified.
Definition: mysql_string_service.cc:414
mysql_security_context_imp::lookup
static mysql_service_status_t lookup(Security_context_handle ctx, const char *user, const char *host, const char *ip, const char *db) noexcept
Looks up in the defined user accounts.
Definition: security_context_imp.cc:175
mysql_clone_start_statement
void mysql_clone_start_statement(THD *&thd, PSI_thread_key thread_key, PSI_statement_key statement_key) noexcept
Start and set session and statement key form current thread.
Definition: clone_protocol_service.cc:48
Page_track_implementation::get_page_ids
static int get_page_ids(THD *opaque_thd, Page_Track_SE se_type, uint64_t *start_id, uint64_t *stop_id, unsigned char *buffer, size_t buffer_len, Page_Track_Callback cbk_func, void *cbk_ctx) noexcept
Service API to get tracked pages.
Definition: page_track_service.cc:104
log_builtins_filter_imp::filter_ruleset_new
static log_filter_ruleset * filter_ruleset_new(log_filter_tag *tag, size_t count) noexcept
Create a new set of filter rules.
Definition: log_builtins_filter.cc:998
mysql_registry_imp::register_service
static mysql_service_status_t register_service(const char *service_implementation_name, my_h_service ptr) noexcept
Registers a new Service Implementation.
Definition: registry.cc:427
log_builtins_string_imp::find_first
static char * find_first(const char *s, int c) noexcept
Wrapper for strchr() - find character in string, from the left.
Definition: log_builtins.cc:3544
mysql_dynamic_loader_imp::iterator_get
static mysql_service_status_t iterator_get(my_h_component_iterator iterator, const char **out_name, const char **out_urn) noexcept
Gets name and URN of Service pointed to by iterator.
Definition: dynamic_loader.cc:511
log_builtins_string_imp::compare
static int compare(const char *a, const char *b, size_t len, bool case_insensitive) noexcept
Compare two NUL-terminated byte strings.
Definition: log_builtins.cc:3580
mysql_string_imp::tolower
static mysql_service_status_t tolower(my_h_string *out_string, my_h_string in_string) noexcept
Convert a String pointed by handle to lower case.
Definition: mysql_string_service.cc:87
mysql_ongoing_transactions_query_imp::get_ongoing_server_transactions
static mysql_service_status_t get_ongoing_server_transactions(unsigned long **thread_ids, unsigned long *length) noexcept
Service that returns the list of thread ids for the currently running transactions in the server.
Definition: ongoing_transaction_query_service.cc:75
mysql_registry_imp::set_default
static mysql_service_status_t set_default(const char *service_implementation_name) noexcept
Sets new default Service Implementation for corresponding Service name.
Definition: registry.cc:465
mysql_clone_finish_statement
void mysql_clone_finish_statement(THD *thd) noexcept
Finish statement and session.
Definition: clone_protocol_service.cc:86
mysql_string_imp::destroy
static void destroy(my_h_string string) noexcept
Destroys specified string object and data contained by it.
Definition: mysql_string_service.cc:224
log_builtins_filter_imp::filter_ruleset_lock
static int filter_ruleset_lock(log_filter_ruleset *ruleset, log_builtins_filter_lock locktype) noexcept
Lock and get the filter rules.
Definition: log_builtins_filter.cc:1004
log_builtins_filter_imp::filter_ruleset_unlock
static void filter_ruleset_unlock(log_filter_ruleset *ruleset) noexcept
Release lock on filter rules.
Definition: log_builtins_filter.cc:1009
mysql_registry_imp::unregister
static mysql_service_status_t unregister(const char *service_implementation_name) noexcept
Removes previously registered Service Implementation from registry.
Definition: registry.cc:448
mysql_dynamic_loader_imp::iterator_is_valid
static mysql_service_status_t iterator_is_valid(my_h_component_iterator iterator) noexcept
Checks if specified iterator is valid, i.e.
Definition: dynamic_loader.cc:572
mysql_registry_imp::iterator_next
static mysql_service_status_t iterator_next(my_h_service_iterator iterator) noexcept
Advances specified iterator to next element.
Definition: registry.cc:601
mysql_dynamic_loader_imp::iterator_create
static mysql_service_status_t iterator_create(my_h_component_iterator *out_iterator) noexcept
Creates iterator that iterates through all loaded Components.
Definition: dynamic_loader.cc:450
mysql_registry_imp::acquire_related
static mysql_service_status_t acquire_related(const char *service_name, my_h_service service, my_h_service *out_service) noexcept
Finds a Service by name.
Definition: registry.cc:362
mysql_udf_registration_imp::udf_register_aggregate
static mysql_service_status_t udf_register_aggregate(const char *func_name, enum Item_result return_type, Udf_func_any func, Udf_func_init init_func, Udf_func_deinit deinit_func, Udf_func_add add_func, Udf_func_clear clear_func) noexcept
udf_registration_aggregate::udf_register
Definition: sql_udf.cc:834
mysql_udf_registration_imp::udf_register
static mysql_service_status_t udf_register(const char *name, Item_result return_type, Udf_func_any func, Udf_func_init init_func, Udf_func_deinit deinit_func) noexcept
udf_registration::udf_register
Definition: sql_udf.cc:818
log_builtins_string_imp::substitutev
static size_t substitutev(char *to, size_t n, const char *fmt, va_list ap) noexcept
Wrapper for vsnprintf() Replace all % in format string with variables from list.
Definition: log_builtins.cc:3596
mysql_clone_connect
MYSQL * mysql_clone_connect(THD *thd, const char *host, uint32_t port, const char *user, const char *passwd, mysql_clone_ssl_context *ssl_ctx, MYSQL_SOCKET *socket) noexcept
Connect to a remote server and switch to clone protocol.
Definition: clone_protocol_service.cc:243
mysql_persistent_dynamic_loader_imp::load
static mysql_service_status_t load(void *thd_ptr, const char *urns[], int component_count) noexcept
Loads specified group of components by URN, initializes them and registers all service implementation...
Definition: persistent_dynamic_loader.cc:345
mysql_component_mysql_admin_session_imp::open
static MYSQL_SESSION open(srv_session_error_cb error_cb, void *ctx) noexcept
Opens server admin session.
Definition: srv_session_service.cc:162
Page_track_implementation::purge
static int purge(THD *opaque_thd, Page_Track_SE se_type, uint64_t *purge_id) noexcept
Service API to purge page tracking data.
Definition: page_track_service.cc:81
log_builtins_filter_imp::filter_rule_init
static void * filter_rule_init(log_filter_ruleset *ruleset) noexcept
Initialize a new rule.
Definition: log_builtins_filter.cc:1046
mysql_clone_send_response
int mysql_clone_send_response(THD *thd, bool secure, uchar *packet, size_t length) noexcept
Send response to client.
Definition: clone_protocol_service.cc:579
mysql_connection_attributes_iterator_imp::deinit
static mysql_service_status_t deinit(my_h_connection_attributes_iterator iterator) noexcept
Deinitialize an iterator.
Definition: mysql_connection_attributes_iterator_imp.cc:80
Page_track_implementation::get_num_page_ids
static int get_num_page_ids(THD *opaque_thd, Page_Track_SE se_type, uint64_t *start_id, uint64_t *stop_id, uint64_t *num_pages) noexcept
Service API to get approximate number of pages tracked in the given range.
Definition: page_track_service.cc:127
log_builtins_string_imp::substitute
static size_t substitute(char *to, size_t n, const char *fmt,...) noexcept
Wrapper for vsnprintf() Replace all % in format string with variables from list.
Definition: log_builtins.cc:3605
mysql_dynamic_loader_imp::iterator_release
static void iterator_release(my_h_component_iterator iterator) noexcept
Releases Component iterator.
Definition: dynamic_loader.cc:483
mysql_clone_validate_charsets
int mysql_clone_validate_charsets(THD *thd, Mysql_Clone_Values &char_sets) noexcept
Check if all characters sets are supported by server.
Definition: clone_protocol_service.cc:121
mysql_clone_get_charsets
int mysql_clone_get_charsets(THD *thd, Mysql_Clone_Values &char_sets) noexcept
Get all character set and collations.
Definition: clone_protocol_service.cc:99
mysql_udf_metadata_imp::argument_get
static mysql_service_status_t argument_get(UDF_ARGS *udf_args, const char *extension_type, unsigned int index, void **out_value) noexcept
Definition: udf_metadata_imp.cc:108
log_builtins_syseventlog_imp::open
static int open(const char *name, int option, int facility) noexcept
Wrapper for mysys' my_openlog.
Definition: log_builtins.cc:3661
log_builtins_syseventlog_imp::close
static int close(void) noexcept
Wrapper for mysys' my_closelog.
Definition: log_builtins.cc:3701
mysql_dynamic_loader_scheme_file_path_filter_imp::load
static mysql_service_status_t load(const char *urn, mysql_component_t **out_data) noexcept
Checks if path specified to load is contained in plug-in directory and change it to absolute one usin...
Definition: dynamic_loader_path_filter.cc:56
mysql_clone_get_configs
int mysql_clone_get_configs(THD *thd, Mysql_Clone_Key_Values &configs) noexcept
Get system configuration parameter values.
Definition: clone_protocol_service.cc:180
mysql_udf_registration_imp::udf_unregister
static mysql_service_status_t udf_unregister(const char *name, int *was_present) noexcept
udf_registration::udf_unregister and udf_registration_aggregate::udf_register
Definition: sql_udf.cc:850
log_builtins_syseventlog_imp::write
static int write(enum loglevel level, const char *msg) noexcept
Wrapper for mysys' my_syslog.
Definition: log_builtins.cc:3684
mysql_clone_get_response
int mysql_clone_get_response(THD *thd, MYSQL *connection, bool set_active, uint32_t timeout, uchar **packet, size_t *length, size_t *net_length) noexcept
Get response from remote server.
Definition: clone_protocol_service.cc:399
mysql_string_imp::get_byte_length
static mysql_service_status_t get_byte_length(my_h_string string, uint *out_length) noexcept
Gets length of specified string expressed as number of bytes.
Definition: mysql_string_service.cc:325
mysql_registry_imp::iterator_get
static mysql_service_status_t iterator_get(my_h_service_iterator iterator, const char **out_name) noexcept
Gets name of Service pointed to by iterator.
Definition: registry.cc:571
mysql_release_backup_lock
mysql_service_status_t mysql_release_backup_lock(THD *opaque_thd) noexcept
Service API to release Backup Lock.
Definition: backup_lock_service.cc:54
mysql_string_imp::is_digit
static mysql_service_status_t is_digit(my_h_string_iterator iter, bool *out) noexcept
Checks if character on current position the iterator points to is a digit.
Definition: mysql_string_service.cc:481
mysql_keyring_iterator_imp::get
static mysql_service_status_t get(my_h_keyring_iterator iterator, char *key_id, size_t key_id_size, char *user_id, size_t user_id_size) noexcept
Fetch key info stored under key iterator and move it forward.
Definition: keyring_iterator_service_imp.cc:46
mysql_dynamic_loader_scheme_file_imp::load
static mysql_service_status_t load(const char *urn, mysql_component_t **out_data) noexcept
Loads components that are located in executable file specified by URN.
Definition: dynamic_loader_scheme_file.cc:83
mysql_security_context_imp::create
static mysql_service_status_t create(Security_context_handle *out_ctx) noexcept
Creates a new security context and initializes it with the defaults (no access, no user etc).
Definition: security_context_imp.cc:101
mysql_security_context_imp::destroy
static mysql_service_status_t destroy(Security_context_handle ctx) noexcept
Deallocates a security context.
Definition: security_context_imp.cc:120
mysql_string_imp::iterator_get_next
static mysql_service_status_t iterator_get_next(my_h_string_iterator iter, int *out_char) noexcept
Retrieves character code at current iterator position and advances the iterator.
Definition: mysql_string_service.cc:379
mysql_server_runtime_error_imp::emit
static void emit(int id, int flags, va_list args) noexcept
It calls the server SQL error generation function and adds the error into the THD's error context.
Definition: mysql_runtime_error.cc:38
log_builtins_filter_imp::filter_ruleset_drop
static void filter_ruleset_drop(log_filter_ruleset *ruleset) noexcept
Drop an entire filter rule-set.
Definition: log_builtins_filter.cc:1014
mysql_acquire_backup_lock
mysql_service_status_t mysql_acquire_backup_lock(THD *opaque_thd, enum enum_backup_lock_service_lock_kind lock_kind, unsigned long lock_timeout) noexcept
Service API to acquire shared Backup Lock.
Definition: backup_lock_service.cc:36
log_builtins_filter_imp::filter_ruleset_move
static int filter_ruleset_move(log_filter_ruleset *from, log_filter_ruleset *to) noexcept
Move rules from one ruleset to another.
Definition: log_builtins_filter.cc:1024
Page_track_implementation::start
static int start(THD *opaque_thd, Page_Track_SE se_type, uint64_t *start_id) noexcept
Service API to start page tracking.
Definition: page_track_service.cc:37
mysql_clone_send_error
int mysql_clone_send_error(THD *thd, uchar err_cmd, bool is_fatal) noexcept
Send error to client.
Definition: clone_protocol_service.cc:607
mysql_keyring_iterator_imp::deinit
static mysql_service_status_t deinit(my_h_keyring_iterator iterator) noexcept
Deinitialize an iterator.
Definition: keyring_iterator_service_imp.cc:40
mysql_clone_disconnect
void mysql_clone_disconnect(THD *thd, MYSQL *mysql, bool is_fatal, bool clear_error) noexcept
Disconnect from a remote server.
Definition: clone_protocol_service.cc:490
log_builtins_tmp_imp::notify_client
static size_t notify_client(void *thd, uint severity, uint code, char *to, size_t n, const char *format,...) noexcept
Definition: log_builtins.cc:3622
dynamic_privilege_services_impl::unregister_privilege
static mysql_service_status_t unregister_privilege(const char *privilege_str, size_t privilege_str_len) noexcept
Unregister a previously registered privilege object identifier so that it no longer can be used in GR...
Definition: dynamic_privileges_impl.cc:135
mysql_string_imp::get_byte
static mysql_service_status_t get_byte(my_h_string string, uint index, uint *out_char) noexcept
Gets byte code of string at specified index position to a specified 32-bit buffer.
Definition: mysql_string_service.cc:300
mysql_clone_kill
int mysql_clone_kill(MYSQL *connection, MYSQL *kill_connection) noexcept
Kill a remote connection.
Definition: clone_protocol_service.cc:475
mysql_string_imp::get_char
static mysql_service_status_t get_char(my_h_string string, uint index, ulong *out_char) noexcept
Gets character code of character on specified index position in string to a specified buffer.
Definition: mysql_string_service.cc:247
mysql_string_imp::convert_from_buffer
static mysql_service_status_t convert_from_buffer(my_h_string *out_string, const char *in_buffer, uint64 length, const char *charset_name) noexcept
alocates a string object and converts the character buffer to string of specified charset_name.
Definition: mysql_string_service.cc:164
mysql_component_sys_variable_imp::register_variable
static mysql_service_status_t register_variable(const char *component_name, const char *var_name, int flags, const char *comment, mysql_sys_var_check_func check_func, mysql_sys_var_update_func update_func, void *check_arg, void *variable_value) noexcept
Register's component system variables.
Definition: component_sys_var_service.cc:132
mysql_registry_imp::acquire
static mysql_service_status_t acquire(const char *service_name, my_h_service *out_service) noexcept
Finds and acquires a Service by name.
Definition: registry.cc:340
Page_track_implementation::get_status
static int get_status(THD *opaque_thd, Page_Track_SE se_type, uint64_t *initial_start_id, uint64_t *last_start_id) noexcept
API to check if page tracking is active or not and to return start id if it's active.
Definition: page_track_service.cc:149
mysql_registry_imp::release
static mysql_service_status_t release(my_h_service service) noexcept
Releases the Service Implementation previously acquired.
Definition: registry.cc:407
log_builtins_string_imp::strndup
static char * strndup(const char *fm, size_t len) noexcept
Wrapper for my_strndup()
Definition: log_builtins.cc:3522
mysql_registry_imp::iterator_create
static mysql_service_status_t iterator_create(const char *service_name_pattern, my_h_service_iterator *out_iterator) noexcept
Creates iterator that iterates through all registered Service Implementations.
Definition: registry.cc:514
mysql_connection_attributes_iterator_imp::init
static mysql_service_status_t init(THD *opaque_thd, my_h_connection_attributes_iterator *iterator) noexcept
Initialize an iterator.
Definition: mysql_connection_attributes_iterator_imp.cc:51
mysql_string_imp::toupper
static mysql_service_status_t toupper(my_h_string *out_string, my_h_string in_string) noexcept
Convert a String pointed by handle to upper case.
Definition: mysql_string_service.cc:122
mysql_keyring_iterator_imp::init
static mysql_service_status_t init(my_h_keyring_iterator *iterator) noexcept
Initialize an iterator.
Definition: keyring_iterator_service_imp.cc:35
mysql_registry_imp::iterator_release
static void iterator_release(my_h_service_iterator iterator) noexcept
Releases Service implementations iterator.
Definition: registry.cc:547
log_builtins_string_imp::length
static size_t length(const char *s) noexcept
Wrapper for strlen() - length of a nul-terminated byte string.
Definition: log_builtins.cc:3536
mysql_component_mysql_current_thread_reader_imp::get
static mysql_service_status_t get(THD **arg) noexcept
Return current thd.
Definition: mysql_current_thread_reader_imp.cc:46