28#ifndef MULTI_FACTOR_PASSWORDOPT_VARS_H
29#define MULTI_FACTOR_PASSWORDOPT_VARS_H
44#define PARSE_COMMAND_LINE_PASSWORD_OPTION \
46 parse_command_line_password_option(opt, argument); \
48 case MYSQL_OPT_USER_PASSWORD: \
49 parse_command_line_password_option(opt, argument); \
bool tty_password[MAX_AUTH_FACTORS]
Definition: multi_factor_passwordopt-vars.cc:34
char * opt_password[MAX_AUTH_FACTORS]
Definition: multi_factor_passwordopt-vars.cc:33
void set_password_options(MYSQL *mysql)
Set password in mysql->options.
Definition: multi_factor_passwordopt-vars.cc:75
void free_passwords()
Release memory for opt_password.
Definition: multi_factor_passwordopt-vars.cc:95
void parse_command_line_password_option(const struct my_option *opt, char *argument)
parse passwords for –password or –password<N> option where N = 1,2,3
Definition: multi_factor_passwordopt-vars.cc:44
This file defines the client API to MySQL and also the ABI of the dynamically linked libmysqlclient.
#define MAX_AUTH_FACTORS
Definition: mysql_com.h:87
Definition: instrumented_condition_variable.h:32
Definition: my_getopt.h:93