diff options
author | Jim Winstead <jimw@mysql.com> | 2009-05-12 14:27:19 -0700 |
---|---|---|
committer | Jim Winstead <jimw@mysql.com> | 2009-05-12 14:27:19 -0700 |
commit | 10611fe61bbfafbeee96915a8ddaaf555ff36e28 (patch) | |
tree | d4aeee16a56473f27abd8a52c5c0da1d5a57377b /client/mysqlbinlog.cc | |
parent | bd59628754d7f6ced2c19286c041b1ee5ce354e0 (diff) | |
parent | d0a1de80b41efa3cc5b58420905c721356eb6a52 (diff) | |
download | mariadb-git-10611fe61bbfafbeee96915a8ddaaf555ff36e28.tar.gz |
Merge in approved bug-fixes
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r-- | client/mysqlbinlog.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 1864786e3c6..2cf91ec7da5 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -1226,6 +1226,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), one_database = 1; break; case 'p': + if (argument == disabled_my_option) + argument= (char*) ""; // Don't require password if (argument) { my_free(pass,MYF(MY_ALLOW_ZERO_PTR)); |