Bug #48942 Wrong named variable in mysql_convert_table_format / ignored parameter "-e"
Submitted: 20 Nov 2009 13:50 Modified: 5 Apr 2013 15:40
Reporter: Johann Reisner Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:Cluster 7.08a, 5.0, 5.1, next OS:Linux
Assigned to: CPU Architecture:Any
Tags: Contribution, ignored parameter, mysql_convert_table_format, wrong named variable

[20 Nov 2009 13:50] Johann Reisner
Description:
Script doesn't work (or only to MyISAM), because the parameter "--engine / -e" is ignored.

How to repeat:
Start this script like: 

mysql_convert_table_format --engine=ndb -S=/tmp/mysql.sock databasename

"--engine=ndb" is ignored

Suggested fix:
Rename "$opt_type" to "$opt_engine"
[21 Nov 2009 9:02] Sveta Smirnova
Thank you for the report.

Verified as described.
[7 Dec 2009 20:23] Lenz Grimmer
No SCA needed for accepting this trivial patch. Please apply!
[3 Apr 2013 16:30] dan d
The bug still exists after > 3 years!!!
It's now in 5.6.10-log (I only cheecked the windows version)
[5 Apr 2013 15:40] Paul DuBois
Noted in 5.7.2 changelog.

mysql_convert_table_format ignored the -e/--engine option.