diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-03-26 08:17:22 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-03-26 08:17:22 +0100 |
commit | bfac7d637f0118481b0aa35ebd1d9711b90baadc (patch) | |
tree | 9d31641797a8279691deb0922951ff9dd7ad0db2 /strings/llstr.c | |
parent | c579bce3497bdf700b19bfe50a75e641330646d3 (diff) | |
download | mariadb-git-bfac7d637f0118481b0aa35ebd1d9711b90baadc.tar.gz |
MDEV-4330 - get_tty_password() does not work if input redirection is used.
The reason is the limitation of ReadConsole() API, it returns error if handle to redirected input is used.
The fix is to use a handle returned by CreateFile("CONIN$",...), rather than GetStdHandle(STD_HANDLE_INPUT) to get the true console handle.
Diffstat (limited to 'strings/llstr.c')
0 files changed, 0 insertions, 0 deletions