mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
e96885de92
* fully support --mysqld=--plugin-load=xxxx * uniformly support all loadable plugins, no need to hard-code every new plugin in mtr * autodetect MTR_VS_CONFIG on windows
20 lines
568 B
Text
20 lines
568 B
Text
--source include/not_embedded.inc
|
|
--source include/have_example_plugin.inc
|
|
|
|
--echo #
|
|
--echo # Bug#51770: UNINSTALL PLUGIN requires no privileges
|
|
--echo #
|
|
|
|
GRANT INSERT ON mysql.plugin TO bug51770@localhost;
|
|
connect(con1,localhost,bug51770,,);
|
|
--replace_regex /\.dll/.so/
|
|
eval INSTALL PLUGIN example SONAME '$HA_EXAMPLE_SO';
|
|
--error ER_TABLEACCESS_DENIED_ERROR
|
|
UNINSTALL PLUGIN example;
|
|
connection default;
|
|
GRANT DELETE ON mysql.plugin TO bug51770@localhost;
|
|
connection con1;
|
|
UNINSTALL PLUGIN example;
|
|
disconnect con1;
|
|
connection default;
|
|
DROP USER bug51770@localhost;
|