From 27c90812cf6424c773562c2320924924ca13bb50 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 21 Sep 2010 16:21:30 +0200 Subject: [PATCH] fix for MySQL Bug#44797 - plugins w/o command-line options have no disabling option in --help --- sql/sql_plugin.cc | 3 +-- 1 file changed, 1 insertion(+), 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 */