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/mysqlshow.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/mysqlshow.c')
-rw-r--r-- | client/mysqlshow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/mysqlshow.c b/client/mysqlshow.c index 0e696aed211..e401d6cad8f 100644 --- a/client/mysqlshow.c +++ b/client/mysqlshow.c @@ -281,6 +281,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), opt_verbose++; break; case 'p': + if (argument == disabled_my_option) + argument= (char*) ""; // Don't require password if (argument) { char *start=argument; |