diff options
Diffstat (limited to 'mysql-test/t/plugin_not_embedded.test')
-rw-r--r-- | mysql-test/t/plugin_not_embedded.test | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/mysql-test/t/plugin_not_embedded.test b/mysql-test/t/plugin_not_embedded.test deleted file mode 100644 index 3b4129b6b6b..00000000000 --- a/mysql-test/t/plugin_not_embedded.test +++ /dev/null @@ -1,32 +0,0 @@ ---source include/not_embedded.inc ---source include/have_example_plugin.inc - ---echo # ---echo # Bug#51770: UNINSTALL PLUGIN requires no privileges ---echo # - -CREATE USER bug51770@localhost; -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; - -# -# BUG#58246: INSTALL PLUGIN not secure & crashable -# -# The bug consisted of not recognizing / on Windows, so checking / on -# all platforms should cover this case. - -let $path = `select CONCAT_WS('/', '..', '$HA_EXAMPLE_SO')`; ---replace_regex /\.dll/.so/ ---error ER_UDF_NO_PATHS -eval INSTALL PLUGIN example SONAME '$path'; |