Bug #34903 | Backup: restore failure if view and temporary | ||
---|---|---|---|
Submitted: | 27 Feb 2008 19:42 | Modified: | 3 Nov 2008 10:51 |
Reporter: | Peter Gulutzan | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S3 (Non-critical) |
Version: | 6.0.5-alpha-debug | OS: | Linux (SUSE 10 | 32-bit) |
Assigned to: | Rafal Somla | CPU Architecture: | Any |
[27 Feb 2008 19:42]
Peter Gulutzan
[27 Feb 2008 21:08]
MySQL Verification Team
Thank you for the bug report. Verified as described. create database d3; use d3 create table t (s1 int); create view v as select * from t; create temporary table t (s1 int); backup database d3 to '6'; restore from '6'; drop database d3; restore from '6';
[17 Jun 2008 7:01]
Jørgen Løland
The second problem: (...) I drop the database. I say RESTORE again. The restore fails because of a temporary table (that's wrong, the temporary table is gone). is likely caused by bug#30099 - "rename/drop database ignores temp tables". The temporary table is not deleted by "drop database"
[24 Jun 2008 14:19]
Jørgen Løland
Seems like both problems reported here are due to bug#30099
[29 Oct 2008 7:34]
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/57263 2718 Rafal Somla 2008-10-29 BUG#33574, BUG#34903 (Backup: restore failure if temporary table exists) Before: If a temporary table existed with the same name as a regular one, BACKUP saved the temporary table. After: Temporary tables are ignored by BACKUP command.
[29 Oct 2008 10:58]
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/57289 2718 Rafal Somla 2008-10-29 BUG#33574, BUG#34903 (Backup: restore failure if temporary table exists) Before: If a temporary table existed with the same name as a regular one, BACKUP saved the temporary table. After: Temporary tables are ignored by BACKUP command.
[30 Oct 2008 12:30]
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/57443 2722 Rafal Somla 2008-10-30 BUG#33574, BUG#34903 (Backup: restore failure if temporary table exists) Before: If a temporary table existed with the same name as a regular one, BACKUP saved the temporary table. After: Temporary tables are ignored by BACKUP command.
[3 Nov 2008 10:51]
Rafal Somla
This is a duplicate of BUG#33574 which was fixed now (patch queued).
[14 Nov 2008 14:50]
Bugs System
Pushed into 6.0.9-alpha (revid:rafal.somla@sun.com-20081030122954-tipkk855c94ehves) (version source revid:jorgen.loland@sun.com-20081114134411-xypyf8wyjc2nm3ly) (pib:5)