diff options
author | Jim Winstead <jimw@mysql.com> | 2009-05-07 10:51:55 -0700 |
---|---|---|
committer | Jim Winstead <jimw@mysql.com> | 2009-05-07 10:51:55 -0700 |
commit | 6280e26c4833be47ec73dea8b5cecf6687060e8c (patch) | |
tree | 200797b66edec0ae022b4848a8d58a51e289216d /client/mysqlcheck.c | |
parent | 5b66e5fe4bcf107f9d962f6e891bd36e9616460f (diff) | |
download | mariadb-git-6280e26c4833be47ec73dea8b5cecf6687060e8c.tar.gz |
Various command-line utilities, including mysqlbinlog and mysqldump, don't
handle the --skip-password option correctly. (Bug #28479)
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r-- | client/mysqlcheck.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c index d2edd084c57..1bdb28f5a11 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -286,6 +286,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), what_to_do= DO_UPGRADE; break; case 'p': + if (argument == disabled_my_option) + argument= (char*) ""; // Don't require password if (argument) { char *start = argument; |