MySQL 9.1.0
Source Code Documentation
|
Classes | |
class | MySQL_check |
class | Server_option_guard |
Functions | |
bool | ignore_error_and_execute (THD *thd, const char *query_ptr, bool print_err=true) |
static bool | reinstall_firewall_procedures (THD *thd, const char *drop_query, const char *fw_proc[]) |
This function will create the firewall's stored procedures. More... | |
static bool | upgrade_firewall_procedures (THD *thd) |
This function will check and create the firewall's stored procedures. More... | |
static bool | switch_to_firewall_schema (THD *thd, std::string &fw_schema) |
This function will switch to the schema which is pointed by the mysql-firewall-database variable by executing USE. More... | |
static bool | upgrade_firewall (THD *thd) |
upgrades Firewall stored procedures More... | |
bool | fix_sys_schema (THD *thd) |
bool | fix_mysql_tables (THD *thd) |
bool | upgrade_help_tables (THD *thd) |
static bool | get_shared_tablespace_names (THD *thd, std::set< dd::String_type > *shared_spaces) |
static bool | check_tables (THD *thd, std::unique_ptr< Schema > &schema, const std::set< dd::String_type > *shared_spaces, Upgrade_error_counter *error_count) |
static bool | check_events (THD *thd, std::unique_ptr< Schema > &schema, Upgrade_error_counter *error_count) |
static bool | check_routines (THD *thd, std::unique_ptr< Schema > &schema, Upgrade_error_counter *error_count) |
static bool | check_views (THD *thd, std::unique_ptr< Schema > &schema, Upgrade_error_counter *error_count) |
static void | remove_legacy_upgrade_info_file () |
Variables | |
static std::vector< uint > | ignored_errors |
|
static |
|
static |
|
static |
|
static |
bool dd::upgrade::anonymous_namespace{server.cc}::fix_mysql_tables | ( | THD * | thd | ) |
bool dd::upgrade::anonymous_namespace{server.cc}::fix_sys_schema | ( | THD * | thd | ) |
|
static |
bool dd::upgrade::anonymous_namespace{server.cc}::ignore_error_and_execute | ( | THD * | thd, |
const char * | query_ptr, | ||
bool | print_err = true |
||
) |
|
static |
This function will create the firewall's stored procedures.
[in] | thd | thread context |
[in] | drop_query | DROP statement to drop procedure |
[in] | fw_proc | stored procedure's SQL definition |
false | execution of query successful |
true | execution of query failed |
|
static |
|
static |
This function will switch to the schema which is pointed by the mysql-firewall-database variable by executing USE.
[in] | thd | thread context |
[out] | fw_schema | value of mysql-firewall-database |
false | execution of USE successful |
true | execution of USE failed |
|
static |
upgrades Firewall stored procedures
|
static |
This function will check and create the firewall's stored procedures.
[in] | thd | thread context |
false | execution of query successful |
true | execution of query failed |
bool dd::upgrade::anonymous_namespace{server.cc}::upgrade_help_tables | ( | THD * | thd | ) |
|
static |