1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

report "using password: YES/NO" correctly for the COM_CHANGE_USER failures

This commit is contained in:
Sergei Golubchik
2013-01-25 00:20:53 +01:00
parent bfc71e63a7
commit 82c022f2d5
2 changed files with 3 additions and 2 deletions

View File

@ -7471,6 +7471,7 @@ static bool parse_com_change_user_packet(MPVIO_EXT *mpvio, uint packet_length)
}
#ifndef NO_EMBEDDED_ACCESS_CHECKS
thd->password= passwd_len > 0;
if (find_mpvio_user(mpvio, sctx))
return 1;