summaryrefslogtreecommitdiff
path: root/client/mysqlshow.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/mysqlshow.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/mysqlshow.c')
-rw-r--r--client/mysqlshow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqlshow.c b/client/mysqlshow.c
index 9c9fdf6e443..ee478058cdc 100644
--- a/client/mysqlshow.c
+++ b/client/mysqlshow.c
@@ -16,7 +16,7 @@
/* Show databases, tables or columns */
-#define SHOW_VERSION "9.4"
+#define SHOW_VERSION "9.5"
#include "client_priv.h"
#include <my_sys.h>
@@ -257,6 +257,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;