mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
mysqltest.c Clean-ups.
This commit is contained in:
@ -950,8 +950,6 @@ int read_query(struct query** q_ptr)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum options {OPT_NODEFAULTS} ;
|
|
||||||
|
|
||||||
struct option long_options[] =
|
struct option long_options[] =
|
||||||
{
|
{
|
||||||
{"verbose", no_argument, 0, 'v'},
|
{"verbose", no_argument, 0, 'v'},
|
||||||
@ -1030,7 +1028,7 @@ int parse_args(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
my_free(pass,MYF(MY_ALLOW_ZERO_PTR));
|
my_free(pass,MYF(MY_ALLOW_ZERO_PTR));
|
||||||
pass=my_strdup(optarg,MYF(MY_FAE));
|
pass=my_strdup(optarg,MYF(MY_FAE));
|
||||||
while (*optarg) *optarg++= 'x'; // Destroy argument
|
while (*optarg) *optarg++= 'x'; /* Destroy argument */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
tty_password=1;
|
tty_password=1;
|
||||||
|
Reference in New Issue
Block a user