Bug #34480 | Backup: Backup to a file copies redundantly if database name is repeated. | ||
---|---|---|---|
Submitted: | 12 Feb 2008 5:05 | Modified: | 3 Nov 2008 10:54 |
Reporter: | Hema Sridharan | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S3 (Non-critical) |
Version: | 6.0.5-alpha-debug | OS: | Linux |
Assigned to: | Rafal Somla | CPU Architecture: | Any |
[12 Feb 2008 5:05]
Hema Sridharan
[12 Feb 2008 10:12]
Sveta Smirnova
Thank you for the report. Verified as described.
[15 Feb 2008 15:18]
Peter Gulutzan
There is an earlier bug report Bug #33567 Backup: duplicate database names allowed which suggests that database name repetition should be an error.
[24 Oct 2008 10:21]
Rafal Somla
Also reported as BUG#36933.
[24 Oct 2008 11:24]
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/56995 2717 Rafal Somla 2008-10-24 BUG#36933, BUG#34480, BUG#33567 (Backup: snapshot error + crash if double backup) Before: When user specified the same database twice in the BACKUP DATABASE statement, it was included twice in the backup image. This lead to a host of problems. After: BACKUP DATABASE will ignore duplicates in the database list. Each database, together with its objects, will be included only once in the produced backup image.
[31 Oct 2008 15:26]
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/57578 2717 Rafal Somla 2008-10-31 BUG#36933, BUG#34480, BUG#33567 (Backup: snapshot error + crash if double backup) Before: When user specified the same database twice in the BACKUP DATABASE statement, it was included twice in the backup image. This lead to a host of problems. After: 1. Parser reports error if the same database repeated twice in the list (similar as for other SQL statements, e.g., DROP TABLE). 2. Backup kernel code will ignore duplicates in the database list (if they ever get there) and never try to backup the same database twice.
[3 Nov 2008 10:54]
Rafal Somla
Fixed by BUG#36933 - now it is not possible to list the same database twice in BACKUP statement.
[5 Nov 2008 9:42]
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/57862 2727 Rafal Somla 2008-11-05 BUG#36933, BUG#34480, BUG#33567 (Backup: snapshot error + crash if double backup) Before: When user specified the same database twice in the BACKUP DATABASE statement, it was included twice in the backup image. This lead to a host of problems. After: 1. Parser reports error if the same database repeated twice in the list (similar as for other SQL statements, e.g., DROP TABLE). 2. Backup kernel code will ignore duplicates in the database list (if they ever get there) and never try to backup the same database twice.
[14 Nov 2008 14:50]
Bugs System
Pushed into 6.0.9-alpha (revid:rafal.somla@sun.com-20081105094115-zcpha090jreyw5jf) (version source revid:jorgen.loland@sun.com-20081114134411-xypyf8wyjc2nm3ly) (pib:5)