summaryrefslogtreecommitdiff
path: root/client/mysqlcheck.c
diff options
context:
space:
mode:
authorunknown <jani@a80-186-41-201.elisa-laajakaista.fi>2004-10-07 22:08:17 +0300
committerunknown <jani@a80-186-41-201.elisa-laajakaista.fi>2004-10-07 22:08:17 +0300
commitd39ea1fdad104e3262f479653cc4cc9d05f39aea (patch)
tree97fa7c4cfb29957c4c5afffdeffa7ab0c33887c9 /client/mysqlcheck.c
parentfdbc804c3295fb4ba46e07b89554bb924cbd7d92 (diff)
downloadmariadb-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/mysqlcheck.c')
-rw-r--r--client/mysqlcheck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index bcfceb74f14..8182b95fb83 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -16,7 +16,7 @@
/* By Jani Tolonen, 2001-04-20, MySQL Development Team */
-#define CHECK_VERSION "2.4.3"
+#define CHECK_VERSION "2.4.4"
#include "client_priv.h"
#include <m_ctype.h>
@@ -246,6 +246,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;