[Commits] Rev 2941: fix for MySQL Bug#44797 - plugins w/o command-line options have no disabling option in --help in http://bazaar.launchpad.net/~maria-captains/maria/5.1/

serg at askmonty.org serg at askmonty.org
Tue Sep 21 17:21:35 EEST 2010


At http://bazaar.launchpad.net/~maria-captains/maria/5.1/

------------------------------------------------------------
revno: 2941
revision-id: sergii at pisem.net-20100921142130-1ghr7wenwcv1hvks
parent: sergii at pisem.net-20100920131759-d8uvabe633jmcudf
committer: Sergei Golubchik <sergii at pisem.net>
branch nick: 5.1
timestamp: Tue 2010-09-21 16:21:30 +0200
message:
  fix for MySQL Bug#44797 - plugins w/o command-line options have no disabling option in --help
-------------- next part --------------
=== modified file 'sql/sql_plugin.cc'
--- a/sql/sql_plugin.cc	2010-08-02 09:01:24 +0000
+++ b/sql/sql_plugin.cc	2010-09-21 14:21:30 +0000
@@ -3446,8 +3446,7 @@ void my_print_help_inc_plugins(my_option
     {
       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 */



More information about the commits mailing list