MySQL 8.3.0
Source Code Documentation
dd::upgrade::anonymous_namespace{server.cc} Namespace Reference

Classes

class  MySQL_check
 
class  Server_option_guard
 

Functions

bool ignore_error_and_execute (THD *thd, const char *query_ptr)
 
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 void create_upgrade_file ()
 
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)
 

Variables

static std::vector< uint > ignored_errors
 

Function Documentation

◆ check_events()

static bool dd::upgrade::anonymous_namespace{server.cc}::check_events ( THD thd,
std::unique_ptr< Schema > &  schema,
Upgrade_error_counter error_count 
)
static

◆ check_routines()

static bool dd::upgrade::anonymous_namespace{server.cc}::check_routines ( THD thd,
std::unique_ptr< Schema > &  schema,
Upgrade_error_counter error_count 
)
static

◆ check_tables()

static bool dd::upgrade::anonymous_namespace{server.cc}::check_tables ( THD thd,
std::unique_ptr< Schema > &  schema,
const std::set< dd::String_type > *  shared_spaces,
Upgrade_error_counter error_count 
)
static

◆ check_views()

static bool dd::upgrade::anonymous_namespace{server.cc}::check_views ( THD thd,
std::unique_ptr< Schema > &  schema,
Upgrade_error_counter error_count 
)
static

◆ create_upgrade_file()

static void dd::upgrade::anonymous_namespace{server.cc}::create_upgrade_file ( )
static

◆ fix_mysql_tables()

bool dd::upgrade::anonymous_namespace{server.cc}::fix_mysql_tables ( THD thd)

◆ fix_sys_schema()

bool dd::upgrade::anonymous_namespace{server.cc}::fix_sys_schema ( THD thd)

◆ get_shared_tablespace_names()

static bool dd::upgrade::anonymous_namespace{server.cc}::get_shared_tablespace_names ( THD thd,
std::set< dd::String_type > *  shared_spaces 
)
static

◆ ignore_error_and_execute()

bool dd::upgrade::anonymous_namespace{server.cc}::ignore_error_and_execute ( THD thd,
const char *  query_ptr 
)

◆ upgrade_firewall()

static bool dd::upgrade::anonymous_namespace{server.cc}::upgrade_firewall ( THD thd)
static

upgrades Firewall stored procedures

◆ upgrade_help_tables()

bool dd::upgrade::anonymous_namespace{server.cc}::upgrade_help_tables ( THD thd)

Variable Documentation

◆ ignored_errors

std::vector<uint> dd::upgrade::anonymous_namespace{server.cc}::ignored_errors
static
Initial value:
{
ER_DUP_FIELDNAME, ER_DUP_KEYNAME, ER_BAD_FIELD_ERROR,
ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE_V2, ER_DUP_ENTRY}