mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
report "using password: YES/NO" correctly for the COM_CHANGE_USER failures
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
|
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: YES)
|
||||||
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: NO)
|
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: NO)
|
||||||
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: NO)
|
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: YES)
|
||||||
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: NO)
|
|
||||||
ERROR 08S01: Unknown command
|
ERROR 08S01: Unknown command
|
||||||
ERROR 08S01: Unknown command
|
ERROR 08S01: Unknown command
|
||||||
|
@ -7471,6 +7471,7 @@ static bool parse_com_change_user_packet(MPVIO_EXT *mpvio, uint packet_length)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
||||||
|
thd->password= passwd_len > 0;
|
||||||
if (find_mpvio_user(mpvio, sctx))
|
if (find_mpvio_user(mpvio, sctx))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user