summaryrefslogtreecommitdiff
path: root/client/mysqlimport.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/mysqlimport.c
parent092d1a5084f202d57c0cebc59e88a440ff8cf6b9 (diff)
downloadmariadb-git-a44b6b67a580927e0f1f7047e50ae276b8480257.tar.gz
Fixed a bug in password handling. All related to Bug#5955.
Diffstat (limited to 'client/mysqlimport.c')
-rw-r--r--client/mysqlimport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqlimport.c b/client/mysqlimport.c
index c68d2d9f724..af6932620bb 100644
--- a/client/mysqlimport.c
+++ b/client/mysqlimport.c
@@ -25,7 +25,7 @@
** * *
** *************************
*/
-#define IMPORT_VERSION "3.4"
+#define IMPORT_VERSION "3.5"
#include "client_priv.h"
#include "mysql_version.h"
@@ -191,6 +191,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;