mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
fix for MySQL Bug#44797 - plugins w/o command-line options have no disabling option in --help
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user