Bug #70330 Typo in mysqlfrm manual entry
Submitted: 13 Sep 2013 12:22 Modified: 4 Jan 2014 16:31
Reporter: Sveta Smirnova Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Chuck Bell CPU Architecture:Any

[13 Sep 2013 12:22] Sveta Smirnova
Description:
There is a typo in the mysqlfrm documentation at http://dev.mysql.com/doc/workbench/en/mysqlfrm.html:

The database name appears to the left of ':' and the .frm name to the right. So in this case, we have database = test1 and table = db1 so the CREATE statement will read CREATE test1.db1.

$ mysqlfrm --basedir=/usr/local/bin/mysql test1:db1.frm --port=3333
# Starting the spawned server on port 3333 ... done.
# Reading .frm files
#
# Reading the city.frm file.
#
# CREATE statement for city.frm:
#

CREATE TABLE `test1`.`city` (

Description says table db1 will be read, but actually data for table city is returned.

How to repeat:
Open http://dev.mysql.com/doc/workbench/en/mysqlfrm.html

Suggested fix:
The database name appears to the left of ':' and the .frm name to the right. So in this case, we have database = test1 and table = city so the CREATE statement will read CREATE test1.city.

$ mysqlfrm --basedir=/usr/local/bin/mysql test1:city.frm --port=3333
[16 Dec 2013 19:20] Chuck Bell
Fixed in release-1.3.6
[4 Jan 2014 16:31] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

It wasn't fully fixed; the preceding paragraph still had a "table" name of db1.