summaryrefslogtreecommitdiff
path: root/mysql-test/t/plugin_loaderr.test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-04-17 20:28:21 +0200
committerSergei Golubchik <sergii@pisem.net>2012-04-17 20:28:21 +0200
commit1c879717eca205a4cad421882c4ed14bbd549a99 (patch)
tree285135ad73012fb7d92438ec5422a62d781caed0 /mysql-test/t/plugin_loaderr.test
parent580eca69ae0fd5186231ef318964349ffff6c499 (diff)
downloadmariadb-git-1c879717eca205a4cad421882c4ed14bbd549a99.tar.gz
bugfix: mysqld failed to start if a compiled-in plugin failed to initialize
(--xxx=ON behaving as --xxx=FORCE)
Diffstat (limited to 'mysql-test/t/plugin_loaderr.test')
-rw-r--r--mysql-test/t/plugin_loaderr.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/plugin_loaderr.test b/mysql-test/t/plugin_loaderr.test
new file mode 100644
index 00000000000..e319e2fb54d
--- /dev/null
+++ b/mysql-test/t/plugin_loaderr.test
@@ -0,0 +1,10 @@
+
+# We used an invalid command-line option and InnoDB failed to start.
+# Ignore all related warnings
+call mtr.add_suppression("InnoDB");
+
+--vertical_results
+SELECT
+PLUGIN_NAME,PLUGIN_STATUS,PLUGIN_TYPE,PLUGIN_LIBRARY,PLUGIN_LIBRARY_VERSION,LOAD_OPTION
+FROM INFORMATION_SCHEMA.PLUGINS WHERE plugin_name = 'innodb';
+