MySQL 8.4.0
Source Code Documentation
dd::upgrade::anonymous_namespace{server.cc}::MySQL_check Class Reference

Public Member Functions

 MySQL_check ()
 
bool check_all_schemas (THD *thd)
 
bool check_system_schemas (THD *thd)
 
bool repair_tables (THD *thd)
 

Private Member Functions

void comma_separated_join (std::vector< dd::String_type > &list, dd::String_type &dest)
 
bool get_schema_tables (THD *thd, const char *schema, dd::String_type &tables_list)
 
bool check_table (List< Ed_row >::iterator &it, const List< Ed_row >::iterator &end, bool repair)
 
bool verify_response (List< Ed_row > &rset, bool repair)
 
bool check_tables (THD *thd, const char *schema)
 Returns true if something went wrong while retrieving the table list or executing CHECK TABLE statements. More...
 

Static Private Member Functions

static dd::String_type escape_str (const dd::String_type &src)
 

Private Attributes

std::vector< dd::String_typealter_cmds
 
std::vector< dd::String_typerepairs
 
bool needs_repair
 

Constructor & Destructor Documentation

◆ MySQL_check()

dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::MySQL_check ( )
inline

Member Function Documentation

◆ check_all_schemas()

bool dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::check_all_schemas ( THD thd)
inline

◆ check_system_schemas()

bool dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::check_system_schemas ( THD thd)
inline

◆ check_table()

bool dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::check_table ( List< Ed_row >::iterator &  it,
const List< Ed_row >::iterator &  end,
bool  repair 
)
inlineprivate

◆ check_tables()

bool dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::check_tables ( THD thd,
const char *  schema 
)
inlineprivate

Returns true if something went wrong while retrieving the table list or executing CHECK TABLE statements.

◆ comma_separated_join()

void dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::comma_separated_join ( std::vector< dd::String_type > &  list,
dd::String_type dest 
)
inlineprivate

◆ escape_str()

static dd::String_type dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::escape_str ( const dd::String_type src)
inlinestaticprivate

◆ get_schema_tables()

bool dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::get_schema_tables ( THD thd,
const char *  schema,
dd::String_type tables_list 
)
inlineprivate

◆ repair_tables()

bool dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::repair_tables ( THD thd)
inline

◆ verify_response()

bool dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::verify_response ( List< Ed_row > &  rset,
bool  repair 
)
inlineprivate

Member Data Documentation

◆ alter_cmds

std::vector<dd::String_type> dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::alter_cmds
private

◆ needs_repair

bool dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::needs_repair
private

◆ repairs

std::vector<dd::String_type> dd::upgrade::anonymous_namespace{server.cc}::MySQL_check::repairs
private

The documentation for this class was generated from the following file: