Bug #27499 | DROP TABLE race with SHOW TABLE STATUS | ||
---|---|---|---|
Submitted: | 28 Mar 2007 14:06 | Modified: | 24 Apr 2007 17:13 |
Reporter: | David Phillips | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Locking | Severity: | S3 (Non-critical) |
Version: | 5.0.37, 5.1 | OS: | Linux (SuSE Linux 9.3) |
Assigned to: | Sergei Glukhov | CPU Architecture: | Any |
[28 Mar 2007 14:06]
David Phillips
[29 Mar 2007 9:48]
Sveta Smirnova
Thank you for the report. Verified as described.
[10 Apr 2007 12:48]
Timour Katchaounov
This bug is possibly related to BUG#27516 with respect to locking.
[18 Apr 2007 7:31]
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/24755 ChangeSet@1.2457, 2007-04-18 12:29:01+05:00, gluh@mysql.com +1 -0 Bug#27499 DROP TABLE race with SHOW TABLE STATUS Hide error for not existing table
[19 Apr 2007 11:52]
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/24897 ChangeSet@1.2457, 2007-04-19 16:49:21+05:00, gluh@mysql.com +1 -0 Bug#27499 DROP TABLE race with SHOW TABLE STATUS They can drop table after table names list creation and before table opening. We open non existing table and get ER_NO_SUCH_TABLE error. In this case we do not store the record into I_S table and clear error.
[21 Apr 2007 15:19]
Bugs System
Pushed into 5.1.18-beta
[21 Apr 2007 15:20]
Bugs System
Pushed into 5.0.42
[24 Apr 2007 17:13]
Paul DuBois
Noted in 5.0.42, 5.1.18 changelogs. A race condition between DROP TABLE and SHOW TABLE STATUS could cause the latter to display incorrect information.