MySQL 8.0.39
Source Code Documentation
|
#include <mysql.h>
#include <mysqld_error.h>
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include "caching_sha2_passwordopt-vars.h"
#include "client/client_priv.h"
#include "compression.h"
#include "m_ctype.h"
#include "m_string.h"
#include "my_alloc.h"
#include "my_dbug.h"
#include "my_default.h"
#include "my_inttypes.h"
#include "my_macros.h"
#include "my_sys.h"
#include "mysql/service_mysql_alloc.h"
#include "print_version.h"
#include "sslopt-vars.h"
#include "typelib.h"
#include "welcome_copyright_notice.h"
#include "multi_factor_passwordopt-vars.h"
#include "multi_factor_passwordopt-longopts.h"
#include "caching_sha2_passwordopt-longopts.h"
#include "sslopt-longopts.h"
#include "sslopt-case.h"
Functions | |
static void | get_options (int *argc, char ***argv) |
static int | list_dbs (MYSQL *mysql, const char *wild) |
static int | list_tables (MYSQL *mysql, const char *db, const char *table) |
static int | list_table_status (MYSQL *mysql, const char *db, const char *table) |
static int | list_fields (MYSQL *mysql, const char *db, const char *table, const char *field) |
static void | print_header (const char *header, size_t head_length,...) |
static void | print_row (const char *header, size_t head_length,...) |
static void | print_trailer (size_t length,...) |
static void | print_res_header (MYSQL_RES *result) |
static void | print_res_top (MYSQL_RES *result) |
static void | print_res_row (MYSQL_RES *result, MYSQL_ROW cur) |
int | main (int argc, char **argv) |
static void | usage (void) |
static bool | get_one_option (int optid, const struct my_option *opt, char *argument) |
Variables | |
static char * | host = nullptr |
static char * | user = nullptr |
static bool | opt_show_keys = false |
static bool | opt_compress = false |
static bool | opt_count = false |
static bool | opt_status = false |
static bool | opt_table_type = false |
static bool | debug_info_flag = false |
static bool | debug_check_flag = false |
static uint | my_end_arg = 0 |
static uint | opt_verbose = 0 |
static const char * | default_charset = MYSQL_AUTODETECT_CHARSET_NAME |
static char * | opt_plugin_dir = nullptr |
static char * | opt_default_auth = nullptr |
static uint | opt_enable_cleartext_plugin = 0 |
static bool | using_opt_enable_cleartext_plugin = false |
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 uint | opt_mysql_port = 0 |
static const char * | load_default_groups [] = {"mysqlshow", "client", nullptr} |
static char * | opt_mysql_unix_port = nullptr |
static struct my_option | my_long_options [] |
|
static |
|
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 |