1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed a bug in password handling. All related to Bug#5955.

This commit is contained in:
jani@a80-186-41-201.elisa-laajakaista.fi
2004-10-07 22:08:17 +03:00
parent 092d1a5084
commit a44b6b67a5
7 changed files with 13 additions and 6 deletions

View File

@ -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;