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 | 038be08a1b8f29479e6ff993328692d0875650c2 (patch) | |
tree | 200797b66edec0ae022b4848a8d58a51e289216d /client/mysqlcheck.c | |
parent | b78f9a8659adf3be4ecbad3db59a97deff4f2193 (diff) | |
download | mariadb-git-038be08a1b8f29479e6ff993328692d0875650c2.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; |