24#ifndef MULTI_FACTOR_PASSWORDOPT_VARS_H
25#define MULTI_FACTOR_PASSWORDOPT_VARS_H
40#define PARSE_COMMAND_LINE_PASSWORD_OPTION \
42 parse_command_line_password_option(opt, argument); \
44 case MYSQL_OPT_USER_PASSWORD: \
45 parse_command_line_password_option(opt, argument); \
bool tty_password[MAX_AUTH_FACTORS]
Definition: multi_factor_passwordopt-vars.cc:35
char * opt_password[MAX_AUTH_FACTORS]
Definition: multi_factor_passwordopt-vars.cc:34
void set_password_options(MYSQL *mysql)
Set password in mysql->options.
Definition: multi_factor_passwordopt-vars.cc:76
void free_passwords()
Release memory for opt_password.
Definition: multi_factor_passwordopt-vars.cc:96
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:45
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