Bug #45740 | mysqldump doesn't dump general_log and slow_query causes restore problem | ||
---|---|---|---|
Submitted: | 25 Jun 2009 10:13 | Modified: | 15 Oct 2012 14:09 |
Reporter: | Roger David Nay | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: mysqldump Command-line Client | Severity: | S3 (Non-critical) |
Version: | 5.1.31, 5.1 bzr | OS: | Linux |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[25 Jun 2009 10:13]
Roger David Nay
[25 Jun 2009 20:55]
Sveta Smirnova
Thank you for the report. Verified as described.
[18 Jan 2011 12:04]
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/129074
[18 Jan 2011 13:10]
Bugs System
Pushed into mysql-5.5 5.5.10 (revid:john.embretsen@oracle.com-20110118120417-bu3cpzne4myzmmvj) (version source revid:john.embretsen@oracle.com-20110118120417-bu3cpzne4myzmmvj) (merge vers: 5.5.10) (pib:24)
[18 Jan 2011 14:40]
Bugs System
Pushed into mysql-trunk 5.6.2 (revid:john.embretsen@oracle.com-20110118130935-dfwm3owvzej26cif) (version source revid:john.embretsen@oracle.com-20110118130935-dfwm3owvzej26cif) (merge vers: 5.6.2) (pib:24)
[18 Jan 2011 15:21]
John Embretsen
Ignore commit messages of January 18. The commit message contained a wrong bug number, commits were not related to this bug.
[3 Mar 2012 15:06]
xiaobin lin
the commit http://lists.mysql.com/commits/129074 is not for this bug. What's the status of it? The problem remains in the latest version of 5.5.20
[20 Jun 2012 16:03]
Paul DuBois
Noted in 5.1.64, 5.5.25, 5.6.6 changelogs. When dumping the mysql database, mysqldump did not include the general_log and slow_query_log tables because they cannot be locked. This caused a problem after reloading the dump file if that file contained a DROP DATABASE statement for the mysql database: The database no longer contained the log tables and attempts to log to them failed. Now mysqldump includes statements to re-create the general_log and slow_query_log tables so that they exist after loading the dump file. Log table contents still are not dumped.