summaryrefslogtreecommitdiff
path: root/mysql-test/r/plugin_not_embedded.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/plugin_not_embedded.result')
-rw-r--r--mysql-test/r/plugin_not_embedded.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/plugin_not_embedded.result b/mysql-test/r/plugin_not_embedded.result
new file mode 100644
index 00000000000..82cfe7b23b8
--- /dev/null
+++ b/mysql-test/r/plugin_not_embedded.result
@@ -0,0 +1,10 @@
+#
+# Bug#51770: UNINSTALL PLUGIN requires no privileges
+#
+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;