MySQL 9.0.0
Source Code Documentation
Mysql::Tools::Check Namespace Reference

Classes

class  Program
 This class is object wrapper to mysql_check function. More...
 

Enumerations

enum  operations {
  DO_CHECK = 1 , DO_REPAIR , DO_ANALYZE , DO_OPTIMIZE ,
  DO_UPGRADE
}
 

Functions

void mysql_check (MYSQL *connection, int what_to_do, bool opt_alldbs, bool opt_check_only_changed, bool opt_extended, bool opt_databases, bool opt_fast, bool opt_medium_check, bool opt_quick, bool opt_all_in_1, bool opt_silent, bool opt_auto_repair, bool ignore_errors, bool opt_frm, bool opt_fix_table_names, bool opt_fix_db_names, bool opt_upgrade, bool opt_write_binlog, unsigned int verbose, std::string opt_skip_database, std::vector< std::string > arguments, void(*dberror)(MYSQL *mysql, const std::string &when))
 
void mysql_check (MYSQL *connection, int what_to_do, bool opt_alldbs, bool opt_check_only_changed, bool opt_extended, bool opt_databases, bool opt_fast, bool opt_medium_check, bool opt_quick, bool opt_all_in_1, bool opt_silent, bool opt_auto_repair, bool ignore_errors, bool opt_frm, bool opt_fix_table_names, bool opt_fix_db_names, bool opt_upgrade, bool opt_write_binlog, uint verbose, std::string opt_skip_database, std::vector< std::string > arguments, void(*dberror)(MYSQL *mysql, const std::string &when))
 

Enumeration Type Documentation

◆ operations

Enumerator
DO_CHECK 
DO_REPAIR 
DO_ANALYZE 
DO_OPTIMIZE 
DO_UPGRADE 

Function Documentation

◆ mysql_check() [1/2]

void Mysql::Tools::Check::mysql_check ( MYSQL connection,
int  what_to_do,
bool  opt_alldbs,
bool  opt_check_only_changed,
bool  opt_extended,
bool  opt_databases,
bool  opt_fast,
bool  opt_medium_check,
bool  opt_quick,
bool  opt_all_in_1,
bool  opt_silent,
bool  opt_auto_repair,
bool  ignore_errors,
bool  opt_frm,
bool  opt_fix_table_names,
bool  opt_fix_db_names,
bool  opt_upgrade,
bool  opt_write_binlog,
uint  verbose,
std::string  opt_skip_database,
std::vector< std::string >  arguments,
void(*)(MYSQL *mysql, const std::string &when)  dberror 
)

◆ mysql_check() [2/2]

void Mysql::Tools::Check::mysql_check ( MYSQL connection,
int  what_to_do,
bool  opt_alldbs,
bool  opt_check_only_changed,
bool  opt_extended,
bool  opt_databases,
bool  opt_fast,
bool  opt_medium_check,
bool  opt_quick,
bool  opt_all_in_1,
bool  opt_silent,
bool  opt_auto_repair,
bool  ignore_errors,
bool  opt_frm,
bool  opt_fix_table_names,
bool  opt_fix_db_names,
bool  opt_upgrade,
bool  opt_write_binlog,
unsigned int  verbose,
std::string  opt_skip_database,
std::vector< std::string >  arguments,
void(*)(MYSQL *mysql, const std::string &when)  dberror 
)