summaryrefslogtreecommitdiff
path: root/client/mysqltest.c
diff options
context:
space:
mode:
authorjani@a80-186-41-201.elisa-laajakaista.fi <>2004-10-07 22:08:17 +0300
committerjani@a80-186-41-201.elisa-laajakaista.fi <>2004-10-07 22:08:17 +0300
commita44b6b67a580927e0f1f7047e50ae276b8480257 (patch)
tree97fa7c4cfb29957c4c5afffdeffa7ab0c33887c9 /client/mysqltest.c
parent092d1a5084f202d57c0cebc59e88a440ff8cf6b9 (diff)
downloadmariadb-git-a44b6b67a580927e0f1f7047e50ae276b8480257.tar.gz
Fixed a bug in password handling. All related to Bug#5955.
Diffstat (limited to 'client/mysqltest.c')
-rw-r--r--client/mysqltest.c3
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;