summaryrefslogtreecommitdiff
path: root/client/mysqldump.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/mysqldump.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/mysqldump.c')
-rw-r--r--client/mysqldump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 65f7fe87c8e..56505afd235 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -37,7 +37,7 @@
** 10 Jun 2003: SET NAMES and --no-set-names by Alexander Barkov
*/
-#define DUMP_VERSION "10.7"
+#define DUMP_VERSION "10.8"
#include <my_global.h>
#include <my_sys.h>
@@ -486,6 +486,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;