diff options
author | unknown <jani@rhols221.adsl.netsonic.fi> | 2004-08-26 16:15:36 +0300 |
---|---|---|
committer | unknown <jani@rhols221.adsl.netsonic.fi> | 2004-08-26 16:15:36 +0300 |
commit | c75e4dfed14e0f96e3458e2a8764ef570bf3b744 (patch) | |
tree | 1762fdbe00809849d750f29014af631add4d3fa6 /client/mysql.cc | |
parent | fccc404a10beba353e9bc9ff4004318e16b01912 (diff) | |
download | mariadb-git-c75e4dfed14e0f96e3458e2a8764ef570bf3b744.tar.gz |
Fixed a bug in mysql.cc. Overriding password prompting
by giving password as an argument later did not work.
Diffstat (limited to 'client/mysql.cc')
-rw-r--r-- | client/mysql.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index dd472041b34..98a6c69d0cd 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -44,7 +44,7 @@ #include <locale.h> #endif -const char *VER= "14.5"; +const char *VER= "14.6"; /* Don't try to make a nice table if the data is too big */ #define MAX_COLUMN_LENGTH 1024 @@ -792,6 +792,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), while (*argument) *argument++= 'x'; // Destroy argument if (*start) start[1]=0 ; + tty_password= 0; } else tty_password= 1; |