Bug #28946 documentation for mysqldump: master-data option
Submitted: 7 Jun 2007 13:38 Modified: 26 Jul 2007 15:34
Reporter: George Lund Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: MC Brown CPU Architecture:Any

[7 Jun 2007 13:38] George Lund
Description:
The documentation for mysqldump at

http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html

states
--master-data[=value]
...
If the option value is equal to 2, the CHANGE MASTER statement is written as an SQL comment. (This is the default action if value is omitted.)

However, leaving out the value is actually equivalent to option 1, i.e. the CHANGE MASTER is not a comment.

How to repeat:
View documentation for mysqldump.

Suggested fix:
Documentation fix.
[11 Jun 2007 16:15] MySQL Verification Team
Thank you for the bug report.
[26 Jul 2007 15:34] MC Brown
I've updated the manual to reflect the true default (i.e. unspecified) value.