mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.5' into 10.6
This commit is contained in:
26
mysql-test/main/grant_plugin.test
Normal file
26
mysql-test/main/grant_plugin.test
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
--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
|
Reference in New Issue
Block a user