mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 09:14:17 +01:00
26 lines
657 B
Text
26 lines
657 B
Text
|
|
--source include/not_embedded.inc
|
|
|
|
if (!$AUTH_0X0100_SO) {
|
|
skip No auth_0x0100 plugin;
|
|
}
|
|
|
|
--echo #
|
|
--echo # MDEV-18151: Skipped error returning for GRANT/SET PASSWORD
|
|
--echo #
|
|
|
|
install soname 'auth_0x0100';
|
|
CREATE USER foo@localhost IDENTIFIED VIA auth_0x0100;
|
|
uninstall plugin auth_0x0100;
|
|
|
|
--disable_ps_protocol
|
|
select Priv from mysql.global_priv where User = "foo" and host="localhost"
|
|
into @priv;
|
|
--enable_ps_protocol
|
|
--error ER_PLUGIN_IS_NOT_LOADED
|
|
SET PASSWORD FOR foo@localhost = "1111";
|
|
select Priv = @priv as "Nothing changed" from mysql.global_priv where User = "foo" and host="localhost";
|
|
|
|
DROP USER foo@localhost;
|
|
|
|
--echo # End of 10.5 tests
|