1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +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

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