Bug #29253 csv table reportedly marked as crashed
| Submitted: | 20 Jun 2007 22:01 | Modified: | 23 Jul 2007 1:06 |
|---|---|---|---|
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: CSV | Severity: | S1 (Critical) |
| Version: | 5.1.20 | OS: | Any |
| Assigned to: | Ramil Kalimullin | CPU Architecture: | Any |
| Tags: | corruption | ||
[20 Jun 2007 22:01]
Shane Bester
[20 Jun 2007 22:05]
Shane Bester
see top of file for user, host, password, gcc compile example.
Attachment: bug29253.c (text/plain), 5.95 KiB.
[12 Jul 2007 15:25]
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/30794 ChangeSet@1.2556, 2007-07-12 20:24:45+05:00, ramil@mysql.com +2 -0 Fix for bug #29253: csv table reportedly marked as crashed Problem: the data file changes made during delete/update are not visible to parallel working threads as the file is reopened, so reading data with old descriptors might miss the changes. Fix: reopen the data file before reading if it was reopened during delete/update to ensure there's no data behind. Note: there's no simple test case.
[13 Jul 2007 19:13]
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/30910 ChangeSet@1.2556, 2007-07-14 00:13:37+05:00, ramil@mysql.com +2 -0 Fix for bug #29253: csv table reportedly marked as crashed Problem: the data file changes made during delete/update are not visible to other threads as the file is reopened, so reading data with old descriptors might miss the changes. Fix: reopen the data file before reading if it was reopened during delete/update to ensure there's no data behind. Note: there's no simple test case.
[19 Jul 2007 15:48]
Bugs System
Pushed into 5.1.21-beta
[23 Jul 2007 1:06]
Paul DuBois
Noted in 5.1.21 changelog. CHECK TABLE could erroneously report table corruption for a CSV table if multiple threads were modifying the table at the same time.
[3 Oct 2008 19:21]
yur delacru
so, i've read the bug and description - but i don't really understand what the fix is?! can somebody simplify the solution so i can use it?
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.057 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.