summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-09-21 16:21:30 +0200
committerSergei Golubchik <sergii@pisem.net>2010-09-21 16:21:30 +0200
commit27c90812cf6424c773562c2320924924ca13bb50 (patch)
tree4621553976a95a88dc6aa86bdeafdd14952cd8a1 /sql/sql_plugin.cc
parent9132fab777af667873d87d543eaa63883a15b38d (diff)
downloadmariadb-git-27c90812cf6424c773562c2320924924ca13bb50.tar.gz
fix for MySQL Bug#44797 - plugins w/o command-line options have no disabling option in --help
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r--sql/sql_plugin.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index c9b73413377..ff5a37233c5 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -3446,8 +3446,7 @@ void my_print_help_inc_plugins(my_option *main_options, uint size)
{
p= *dynamic_element(&plugin_array, idx, struct st_plugin_int **);
- if (!p->plugin->system_vars ||
- !(opt= construct_help_options(&mem_root, p)))
+ if (!(opt= construct_help_options(&mem_root, p)))
continue;
/* Only options with a non-NULL comment are displayed in help text */