mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
password validation plugin type and a simple plugin
This commit is contained in:
16
mysql-test/suite/plugins/t/simple_password_check.test
Normal file
16
mysql-test/suite/plugins/t/simple_password_check.test
Normal file
@ -0,0 +1,16 @@
|
||||
--source include/not_embedded.inc
|
||||
|
||||
if (!$SIMPLE_PASSWORD_CHECK_SO) {
|
||||
skip No SIMPLE_PASSWORD_CHECK plugin;
|
||||
}
|
||||
|
||||
install soname "simple_password_check";
|
||||
|
||||
--vertical_results
|
||||
--replace_result .dll .so
|
||||
select * from information_schema.plugins where plugin_name='simple_password_check';
|
||||
|
||||
select * from information_schema.system_variables where variable_name like 'simple_password_check%' order by 1;
|
||||
--horizontal_results
|
||||
|
||||
uninstall plugin simple_password_check;
|
Reference in New Issue
Block a user