1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-18151 Skipped error returning for GRANT/SET PASSWORD

Make error issueing for GRANT and SET PASSWORD the same.
Report errors wich were skipped before.
This commit is contained in:
Oleksandr Byelkin
2024-10-04 09:28:46 +02:00
parent 9cd9c3cf16
commit cc59fbfffa
8 changed files with 85 additions and 6 deletions

View File

@@ -139,6 +139,7 @@ show create user mysqltest1;
CREATE USER for mysqltest1@%
CREATE USER `mysqltest1`@`%` IDENTIFIED VIA unix_socket OR mysql_native_password USING '*BFE3F4604CFD21E6595080A261D92EF0183B5971'
set password for mysqltest1 = password('foobar');
ERROR HY000: SET PASSWORD is ignored for users authenticating via unix_socket plugin
show create user mysqltest1;
CREATE USER for mysqltest1@%
CREATE USER `mysqltest1`@`%` IDENTIFIED VIA unix_socket OR mysql_native_password USING '*9B500343BC52E2911172EB52AE5CF4847604C6E5'