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

Submitted: 11 May 2009 17:29 Modified: 23 Apr 2010 1:45
Reporter: Sergei Golubchik Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: User-defined functions ( UDF ) Severity:S3 (Non-critical)
Version:5.1 OS:Any
Assigned to: CPU Architecture:Any

[11 May 2009 17:29] Sergei Golubchik
Description:
For every plugin there are two command-line options created automatically:

  --XXX
  --plugin-XXX

(if the plugin name is XXX). For example --innodb and --plugin-innodb.

But mysqld --help does not print them for plugins that don't have other command-line options.

How to repeat:
run mysqld --skip-archive.
check with 'show plugins' that it worked.
run mysqld --help, note that there's no --archive option there.

Suggested fix:
in my_print_help_inc_plugins() remove p->plugin->system_vars from the if()
[6 Mar 2010 10:53] Bugs System
Pushed into 5.5.3-m3 (revid:alik@sun.com-20100306103849-hha31z2enhh7jwt3) (version source revid:vvaintroub@fedora12-20091225154921-x25a5pyw1pxiwobv) (merge vers: 5.5.99) (pib:16)
[23 Apr 2010 1:49] Paul DuBois
Noted in 5.5.3 changelog.

For plugins that did not have command-line options other than the
ones to select the plugin itself, those options were not displayed in
the mysqld help message.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.