Browse Source

fix for MySQL Bug#44797 - plugins w/o command-line options have no disabling option in --help

pull/843/head
Sergei Golubchik 15 years ago
parent
commit
27c90812cf
  1. 3
      sql/sql_plugin.cc

3
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 */

Loading…
Cancel
Save