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:

parent
092d1a5084
commit
a44b6b67a5
@ -16,7 +16,7 @@
|
||||
|
||||
/* By Jani Tolonen, 2001-04-20, MySQL Development Team */
|
||||
|
||||
#define CHECK_VERSION "2.4.3"
|
||||
#define CHECK_VERSION "2.4.4"
|
||||
|
||||
#include "client_priv.h"
|
||||
#include <m_ctype.h>
|
||||
@ -246,6 +246,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;
|
||||
|
Reference in New Issue
Block a user