summaryrefslogtreecommitdiff
path: root/strings/llstr.c
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2013-03-26 08:17:22 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2013-03-26 08:17:22 +0100
commitbfac7d637f0118481b0aa35ebd1d9711b90baadc (patch)
tree9d31641797a8279691deb0922951ff9dd7ad0db2 /strings/llstr.c
parentc579bce3497bdf700b19bfe50a75e641330646d3 (diff)
downloadmariadb-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