diff options
| author | Michael Widenius <monty@mariadb.org> | 2018-03-09 14:05:35 +0200 |
|---|---|---|
| committer | Monty <monty@mariadb.org> | 2018-03-29 13:59:44 +0300 |
| commit | a7abddeffa6a760ce948c2dfb007cdf3f1a369d5 (patch) | |
| tree | 70eb743fa965a17380bbc0ac88ae79ca1075b896 /mysql-test/main/plugin_not_embedded.result | |
| parent | ab1941266c59a19703a74b5593cf3f508a5752d7 (diff) | |
| download | mariadb-git-a7abddeffa6a760ce948c2dfb007cdf3f1a369d5.tar.gz | |
Create 'main' test directory and move 't' and 'r' there
Diffstat (limited to 'mysql-test/main/plugin_not_embedded.result')
| -rw-r--r-- | mysql-test/main/plugin_not_embedded.result | 18 |
1 files changed, 18 insertions, 0 deletions
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 |
