1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-18151 Skipped error returning for GRANT/SET PASSWORD

Make message of error not warning.
This commit is contained in:
Oleksandr Byelkin
2024-10-04 10:15:35 +02:00
parent cc59fbfffa
commit b138f428ea
4 changed files with 26 additions and 4 deletions

View File

@ -8,3 +8,11 @@ ERROR 28000: Access denied for user 'USER'@'localhost'
replace mysql.global_priv select * from global_priv_backup;
flush privileges;
drop table global_priv_backup;
#
# MDEV-18151: Skipped error returning for GRANT/SET PASSWORD
#
CREATE USER foo;
GRANT EXECUTE ON * TO foo IDENTIFIED WITH unix_socket AS PASSWORD('bar');
ERROR HY000: SET PASSWORD is not applicable for users authenticating via unix_socket plugin
DROP USER foo;
# End of 10.5 tests