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/mysqlshow.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/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; |