summaryrefslogtreecommitdiff
path: root/mysql-test/t/bug46261-master.opt
diff options
context:
space:
mode:
authorStaale Smedseng <staale.smedseng@sun.com>2010-04-22 15:52:00 +0200
committerStaale Smedseng <staale.smedseng@sun.com>2010-04-22 15:52:00 +0200
commit20c9177518c3bb07c74df9fa8e25ba46af60f484 (patch)
tree97a0fc74fbdab86d5760f344f5e2bd773b203d26 /mysql-test/t/bug46261-master.opt
parent4859951a900b687f55f8ca3ac786bbec200fcc90 (diff)
downloadmariadb-git-20c9177518c3bb07c74df9fa8e25ba46af60f484.tar.gz
Bug#46261 Plugins can be installed with --skip-grant-tables
Previously installed dynamic plugins are explicitly not loaded on startup with --skip-grant-tables enabled. However, INSTALL PLUGIN/UNINSTALL PLUGIN commands are allowed, and result in inconsistent error messages (reporting duplicate plugin or plugin does not exist). This patch adds a check for --skip-grant-tables mode, and returns error ER_OPTION_PREVENTS_STATEMENT to the user when the above commands are attempted.
Diffstat (limited to 'mysql-test/t/bug46261-master.opt')
-rw-r--r--mysql-test/t/bug46261-master.opt1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/bug46261-master.opt b/mysql-test/t/bug46261-master.opt
new file mode 100644
index 00000000000..6be4269e809
--- /dev/null
+++ b/mysql-test/t/bug46261-master.opt
@@ -0,0 +1 @@
+--skip-grant-tables $EXAMPLE_PLUGIN_OPT