summaryrefslogtreecommitdiff
path: root/mysql-test/r/plugin_not_embedded.result
blob: 8106abc497f2c1f27e647e1f680a3e613443f28b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# Bug#51770: UNINSTALL PLUGIN requires no privileges
#
CREATE USER bug51770@localhost;
GRANT INSERT ON mysql.plugin TO bug51770@localhost;
INSTALL PLUGIN example SONAME 'ha_example.so';
UNINSTALL PLUGIN example;
ERROR 42000: DELETE command denied to user 'bug51770'@'localhost' for table 'plugin'
GRANT DELETE ON mysql.plugin TO bug51770@localhost;
UNINSTALL PLUGIN example;
DROP USER bug51770@localhost;
INSTALL PLUGIN example SONAME '../ha_example.so';
ERROR HY000: No paths allowed for shared library