MySQL 8.4.2
Source Code Documentation
|
#include "client/check/mysqlcheck.h"
#include <mysql_version.h>
#include <mysqld_error.h>
#include <stdlib.h>
#include "client/include/caching_sha2_passwordopt-vars.h"
#include "client/include/client_priv.h"
#include "client/include/sslopt-vars.h"
#include "compression.h"
#include "my_alloc.h"
#include "my_dbug.h"
#include "my_default.h"
#include "my_inttypes.h"
#include "my_macros.h"
#include "mysql/service_mysql_alloc.h"
#include "mysql/strings/m_ctype.h"
#include "nulls.h"
#include "print_version.h"
#include "typelib.h"
#include "welcome_copyright_notice.h"
#include "client/include/multi_factor_passwordopt-vars.h"
#include "client/include/multi_factor_passwordopt-longopts.h"
#include "client/include/caching_sha2_passwordopt-longopts.h"
#include "client/include/sslopt-longopts.h"
#include "client/include/sslopt-case.h"
Macros | |
#define | EX_USAGE 1 |
#define | EX_MYSQLERR 2 |
Functions | |
static void | usage (void) |
static int | get_options (int *argc, char ***argv, MEM_ROOT *alloc) |
static int | dbConnect (char *host, char *user) |
static void | dbDisconnect (char *host) |
static void | DBerror (MYSQL *mysql, const string &when) |
static void | safe_exit (int error) |
static bool | get_one_option (int optid, const struct my_option *opt, char *argument) |
int | main (int argc, char **argv) |
Variables | |
static MYSQL | mysql_connection |
static MYSQL * | sock = nullptr |
static bool | opt_alldbs = false |
static bool | opt_check_only_changed = false |
static bool | opt_extended = false |
static bool | opt_compress = false |
static bool | opt_databases = false |
static bool | opt_fast = false |
static bool | opt_medium_check = false |
static bool | opt_quick = false |
static bool | opt_all_in_1 = false |
static bool | opt_silent = false |
static bool | opt_auto_repair = false |
static bool | ignore_errors = false |
static bool | opt_frm = false |
static bool | debug_info_flag = false |
static bool | debug_check_flag = false |
static bool | opt_fix_table_names = false |
static bool | opt_fix_db_names = false |
static bool | opt_upgrade = false |
static bool | opt_write_binlog = true |
static uint | verbose = 0 |
static uint | opt_mysql_port = 0 |
static uint | opt_enable_cleartext_plugin = 0 |
static bool | using_opt_enable_cleartext_plugin = false |
static int | my_end_arg |
static char * | opt_mysql_unix_port = nullptr |
static char * | current_user = nullptr |
static char * | current_host = nullptr |
static const char * | default_charset = nullptr |
static char * | opt_plugin_dir = nullptr |
static char * | opt_default_auth = nullptr |
static int | first_error = 0 |
static const char * | opt_skip_database = "" |
static uint | opt_zstd_compress_level = default_zstd_compression_level |
static char * | opt_compress_algorithm = nullptr |
static uint | opt_protocol = 0 |
static char * | opt_bind_addr = nullptr |
static struct my_option | my_long_options [] |
static const char * | load_default_groups [] = {"mysqlcheck", "client", nullptr} |
static int | what_to_do = 0 |
#define EX_MYSQLERR 2 |
#define EX_USAGE 1 |
|
static |
|
static |
|
static |
|
static |
|
static |
int main | ( | int | argc, |
char ** | argv | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |