diff options
author | unknown <jani@a80-186-41-201.elisa-laajakaista.fi> | 2004-10-07 22:08:17 +0300 |
---|---|---|
committer | unknown <jani@a80-186-41-201.elisa-laajakaista.fi> | 2004-10-07 22:08:17 +0300 |
commit | d39ea1fdad104e3262f479653cc4cc9d05f39aea (patch) | |
tree | 97fa7c4cfb29957c4c5afffdeffa7ab0c33887c9 /client/mysqltest.c | |
parent | fdbc804c3295fb4ba46e07b89554bb924cbd7d92 (diff) | |
download | mariadb-git-d39ea1fdad104e3262f479653cc4cc9d05f39aea.tar.gz |
Fixed a bug in password handling. All related to Bug#5955.
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'client/mysqltest.c')
-rw-r--r-- | client/mysqltest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 7f2b6e16947..d2d110c7954 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -42,7 +42,7 @@ **********************************************************************/ -#define MTEST_VERSION "2.1" +#define MTEST_VERSION "2.2" #include <my_global.h> #include <mysql_embed.h> @@ -2090,6 +2090,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), my_free(pass, MYF(MY_ALLOW_ZERO_PTR)); pass= my_strdup(argument, MYF(MY_FAE)); while (*argument) *argument++= 'x'; /* Destroy argument */ + tty_password= 0; } else tty_password= 1; |