From a7abddeffa6a760ce948c2dfb007cdf3f1a369d5 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Fri, 9 Mar 2018 14:05:35 +0200 Subject: Create 'main' test directory and move 't' and 'r' there --- mysql-test/main/plugin_not_embedded.result | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mysql-test/main/plugin_not_embedded.result (limited to 'mysql-test/main/plugin_not_embedded.result') diff --git a/mysql-test/main/plugin_not_embedded.result b/mysql-test/main/plugin_not_embedded.result new file mode 100644 index 00000000000..2edf6c496d3 --- /dev/null +++ b/mysql-test/main/plugin_not_embedded.result @@ -0,0 +1,18 @@ +# +# Bug#51770: UNINSTALL PLUGIN requires no privileges +# +CREATE USER bug51770@localhost; +GRANT INSERT ON mysql.plugin TO bug51770@localhost; +connect con1,localhost,bug51770,,; +INSTALL PLUGIN example SONAME 'ha_example.so'; +UNINSTALL PLUGIN example; +ERROR 42000: DELETE command denied to user 'bug51770'@'localhost' for table 'plugin' +connection default; +GRANT DELETE ON mysql.plugin TO bug51770@localhost; +connection con1; +UNINSTALL PLUGIN example; +disconnect con1; +connection default; +DROP USER bug51770@localhost; +INSTALL PLUGIN example SONAME '../ha_example.so'; +ERROR HY000: No paths allowed for shared library -- cgit v1.2.1