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

@ -27,3 +27,17 @@ change_user $USER;
replace mysql.global_priv select * from global_priv_backup;
flush privileges;
drop table global_priv_backup;
--echo #
--echo # MDEV-18151: Skipped error returning for GRANT/SET PASSWORD
--echo #
CREATE USER foo;
--error ER_SET_PASSWORD_AUTH_PLUGIN
GRANT EXECUTE ON * TO foo IDENTIFIED WITH unix_socket AS PASSWORD('bar');
# Cleanup
DROP USER foo;
--echo # End of 10.5 tests