Bug #31833 | ORDER BY leads to wrong result when ARCHIVE, BLOB and table cache is full | ||
---|---|---|---|
Submitted: | 25 Oct 2007 7:09 | Modified: | 10 Jan 2008 17:46 |
Reporter: | Dmitry Lenev | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Archive storage engine | Severity: | S3 (Non-critical) |
Version: | 5.1.23-bk | OS: | Linux |
Assigned to: | Sergey Vojtovich | CPU Architecture: | Any |
[25 Oct 2007 7:09]
Dmitry Lenev
[25 Oct 2007 10:32]
Sveta Smirnova
Thank you for the report. Verified as described.
[23 Nov 2007 13:48]
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/38372 ChangeSet@1.2641, 2007-11-23 17:51:12+04:00, svoj@mysql.com +3 -0 BUG#31833 - ORDER BY leads to wrong result when ARCHIVE, BLOB and table cache is full After reading last record from freshly opened archive table (e.g. after flush table, or if there is no room in table cache), the table is reported as crashed. The problem was that azio wrongly invalidated azio_stream when it meets EOF.
[12 Dec 2007 23:00]
Bugs System
Pushed into 6.0.5-alpha
[12 Dec 2007 23:02]
Bugs System
Pushed into 5.1.23-rc
[10 Jan 2008 17:46]
MC Brown
A note has been added tot he 6.0.5 and 5.1.23 changelogs: Using ORDER BY leads to the wrong result when using the ARCHIVE on a table with a BLOB when the table cache is full. The table may also be reported as crashed after the query has completed, even though the table data was in tact.