MySQL 9.1.0
Source Code Documentation
|
Classes | |
class | Mysql_connection |
class | Options |
Command line options container. More... | |
Functions | |
static void | usage (bool version_only) |
bool | get_one_option (int optid, const struct my_option *opt, char *argument) |
static bool | check_options_for_sanity () |
static bool | get_options (int argc, char **argv, int &exit_code) |
bool | process_options (int *argc, char ***argv, int &exit_code) |
Process command line options. More... | |
void | init_connection_basic () |
Initialize MYSQL connection structures. More... | |
void | deinit_connection_basic () |
Deinitialize MYSQL connection structures. More... | |
Variables | |
static MEM_ROOT | argv_alloc {PSI_NOT_INSTRUMENTED, 512} |
MEM_ROOT for arguments. More... | |
static const char * | load_default_groups [] = {"mysql_migrate_keyring", nullptr} |
Options group. More... | |
static struct my_option | my_long_options [] |
Command line options. More... | |
const char * | default_charset = MYSQL_AUTODETECT_CHARSET_NAME |
|
static |
void options::deinit_connection_basic | ( | ) |
Deinitialize MYSQL connection structures.
bool options::get_one_option | ( | int | optid, |
const struct my_option * | opt, | ||
char * | argument | ||
) |
|
static |
void options::init_connection_basic | ( | ) |
Initialize MYSQL connection structures.
bool options::process_options | ( | int * | argc, |
char *** | argv, | ||
int & | exit_code | ||
) |
Process command line options.
[in,out] | argc | Number of arguments |
[in,out] | argv | Command line argument array |
[out] | exit_code | Exit code |
true | Success |
false | Failure |
|
static |
|
static |
MEM_ROOT for arguments.
const char* options::default_charset = MYSQL_AUTODETECT_CHARSET_NAME |
|
static |
Options group.
|
static |
Command line options.