Bug #34909 mysqldump returns a 0 status on error when using --master-data
| Submitted: | 27 Feb 2008 21:41 | Modified: | 3 Apr 2008 15:07 |
|---|---|---|---|
| Reporter: | Tim Soderstrom | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: mysqldump Command-line Client | Severity: | S3 (Non-critical) |
| Version: | 5.0.51, 5.0, 5.1 BK | OS: | Linux (RHEL4) |
| Assigned to: | Georgi Kodinov | CPU Architecture: | Any |
| Tags: | mysqldump binary log master-data | ||
[27 Feb 2008 21:41]
Tim Soderstrom
[27 Feb 2008 22:49]
Sveta Smirnova
Thank you for the report. Verified as described.
[29 Feb 2008 16:03]
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/commits/43227 ChangeSet@1.2596, 2008-02-29 18:00:34+02:00, gkodinov@magare.gmz +4 -0 Bug #34909: mysqldump returns a 0 status on error when using --master-data No error code was returned by mysqldump if it detects that binary logging is not enabled on the server. Fixed by returning error code.
[6 Mar 2008 19:41]
Sergey Petrunya
Feedback provided via email. Setting to Patch Approved assuming Joro will agree with the requested changes. Joro if you don't agree please change back to patch pending.
[7 Mar 2008 9:16]
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/commits/43564 ChangeSet@1.2596, 2008-03-07 11:15:49+02:00, gkodinov@magare.gmz +4 -0 Bug #34909: mysqldump returns a 0 status on error when using --master-data No error code was returned by mysqldump if it detects that binary logging is not enabled on the server. Fixed by returning error code.
[13 Mar 2008 19:29]
Bugs System
Pushed into 6.0.5-alpha
[13 Mar 2008 19:36]
Bugs System
Pushed into 5.1.24-rc
[13 Mar 2008 19:43]
Bugs System
Pushed into 5.0.60
[3 Apr 2008 15:07]
Jon Stephens
Documented in the 5.0.60, 5.1.23-ndb-6.3.11, 5.1.24, and 6.0.5 changelogs as follows:
mysqldump failed to return an error code when using
--master-data but binary logging was not enabled on the server.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.