From d39ea1fdad104e3262f479653cc4cc9d05f39aea Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 7 Oct 2004 22:08:17 +0300 Subject: Fixed a bug in password handling. All related to Bug#5955. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted --- client/mysqladmin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/mysqladmin.c') diff --git a/client/mysqladmin.c b/client/mysqladmin.c index df3e8dfed62..4a823b9e718 100644 --- a/client/mysqladmin.c +++ b/client/mysqladmin.c @@ -25,7 +25,7 @@ #include #include -#define ADMIN_VERSION "8.40" +#define ADMIN_VERSION "8.41" #define MAX_MYSQL_VAR 256 #define SHUTDOWN_DEF_TIMEOUT 3600 /* Wait for shutdown */ #define MAX_TRUNC_LENGTH 3 @@ -209,6 +209,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), while (*argument) *argument++= 'x'; /* Destroy argument */ if (*start) start[1]=0; /* Cut length of argument */ + tty_password= 0; } else tty_password=1; -- cgit v1.2.1