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:
Category:MySQL Server: General Severity:S4 (Feature request)
Version:5.0.45 OS:Any
Assigned to: CPU Architecture:Any

[5 Jun 2008 16:23] David Tonhofer
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


sync-bdb-logs                     TRUE
sync-binlog                       0


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:

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