| Bug #31833 | ORDER BY leads to wrong result when ARCHIVE, BLOB and table cache is full | ||
|---|---|---|---|
| Submitted: | 25 Oct 2007 9:09 | Modified: | 10 Jan 2008 18:46 |
| Reporter: | Dmitri Lenev | ||
| Status: | Closed | ||
| Category: | Server: Archive | Severity: | S3 (Non-critical) |
| Version: | 5.1.23-bk | OS: | Linux |
| Assigned to: | Sergey Vojtovich | Target Version: | |
| Triage: | D4 (Minor) | ||
[25 Oct 2007 9:09]
Dmitri Lenev
[25 Oct 2007 12:32]
Sveta Smirnova
Thank you for the report. Verified as described.
[23 Nov 2007 14: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.
[13 Dec 2007 0:00]
Bugs System
Pushed into 6.0.5-alpha
[13 Dec 2007 0:02]
Bugs System
Pushed into 5.1.23-rc
[10 Jan 2008 18: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.
