Bug #71813 Relationship between mysqlbinlog --rewrite-db and --database undocumented
Submitted: 24 Feb 2014 6:56 Modified: 3 Mar 2014 16:44
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.7.1+ OS:Any
Assigned to: Jon Stephens CPU Architecture:Any
Tags: --rewrite-db, mysqlbinlog

[24 Feb 2014 6:56] Laurynas Biveinis
Description:
The relationship between mysqlbinlog --database and --rewrite-db options is not documented. If both are specified, there are two possible orders they could be applied. The source code appears to implement it the way that --rewrite-db is applied first and --database second, this needs to be documented.

How to repeat:
https://dev.mysql.com/doc/refman/5.7/en/mysqlbinlog.html and source code reading

Suggested fix:
Add explanations to the --database and --rewrite-db option manual sections describing their relationship.
[24 Feb 2014 8:34] MySQL Verification Team
Hello Laurynas,

Thank you for the bug report.

Thanks,
Umesh
[3 Mar 2014 16:44] Jon Stephens
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.

Fixed in mysqldoc rev 37895. Closed.