Bug #37229 Call to unify parameter names to preferably use the underscore
Submitted: 5 Jun 2008 16:23 Modified: 2 Jan 2011 20:38
Reporter: David Tonhofer Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S4 (Feature request)
Version:5.0.45 OS:Any
Assigned to: CPU Architecture:Any
Triage: Needs Triage: D5 (Feature request)

[5 Jun 2008 16:23] David Tonhofer
Description:
Parameters passed to the MySQL server or client (or scripts) come in two forms: as word sequences using the underscore as a separator or as word sequences using the dash as separator.

For example, a mysqld --help --verbose shows:

relay_log_purge                   TRUE
relay_log_space_limit             0

but

sync-bdb-logs                     TRUE
sync-binlog                       0

etc.

This should be unified to use either underscore or dash in all parameters. I have a preference for the underscore as it seems syntax colorer and shell autocompletion features look onto the underscore in a more benign fashion.

Unification would mean that parameters names with "_" and "-" be both accepted on input but only parameters with the unified separator be output.

How to repeat:
n/a

Suggested fix:
n/a
[2 Jan 2011 20:38] Valeriy Kravchuk
Work in progress already (to some extent). See http://forge.mysql.com/worklog/task.php?id=4277