mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 09:14:17 +01:00
cc59fbfffa
Make error issueing for GRANT and SET PASSWORD the same. Report errors wich were skipped before.
17 lines
712 B
Text
17 lines
712 B
Text
#
|
|
# MDEV-18151: Skipped error returning for GRANT/SET PASSWORD
|
|
#
|
|
install soname 'auth_0x0100';
|
|
CREATE USER foo@localhost IDENTIFIED VIA auth_0x0100;
|
|
uninstall plugin auth_0x0100;
|
|
select Priv from mysql.global_priv where User = "foo" and host="localhost"
|
|
into @priv;
|
|
Warnings:
|
|
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
|
SET PASSWORD FOR foo@localhost = "1111";
|
|
ERROR HY000: Plugin 'auth_0x0100' is not loaded
|
|
select Priv = @priv as "Nothing changed" from mysql.global_priv where User = "foo" and host="localhost";
|
|
Nothing changed
|
|
1
|
|
DROP USER foo@localhost;
|
|
# End of 10.5 tests
|