Bug #11678 mysqldump --master-data silent if master binlog disabled
Submitted: 30 Jun 2005 20:15 Modified: 14 Jul 2005 18:40
Reporter: Dean Ellis Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: mysqldump Command-line Client Severity:S2 (Serious)
Version:4.0.25 forward OS:
Assigned to: Lars Thalmann CPU Architecture:Any

[30 Jun 2005 20:15] Dean Ellis
Description:
mysqldump --master-data silently ignores the case where server's binary log is disabled, resulting in no CHANGE MASTER statement in dump file, nor any warning that such is omitted.

How to repeat:
disable log-bin
mysqldump --master-data mysql user

Suggested fix:
Raise an error (unless --force) and halt with --master-data and disabled binlog.
[1 Jul 2005 10:01] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/26581
[4 Jul 2005 12:50] Lars Thalmann
This fix has been pushed.  Will be part of MySQL versions 4.1.13 and 5.0.9.
[14 Jul 2005 18:40] Paul DuBois
Noted in 4.1.13, 5.0.9 changelogs.