Bug #35606 | REPAIR TABLE `...` will cause corrputed *.frm file | ||
---|---|---|---|
Submitted: | 27 Mar 2008 13:57 | Modified: | 7 Apr 2008 14:56 |
Reporter: | Christian Meisinger | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | 5.1.23-ndb-6.3.10-telco | OS: | Linux (SuSE 9.3) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | corrupt, frm, Repair |
[27 Mar 2008 13:57]
Christian Meisinger
[27 Mar 2008 13:57]
Christian Meisinger
projects_notes MYI, MYD and both frm files
Attachment: projects_notes.zip (application/zip, text), 2.88 KiB.
[28 Mar 2008 11:25]
Susanne Ebrecht
Christian, many thanks for writing a bug report. I can't reproduce this by using newest 5.0 and 5.1 sources and will try to reproduce it with the same versions that you used. My first check was an encoding check and I figured out that you don't have encoding problems in your databases.
[31 Mar 2008 12:41]
Susanne Ebrecht
Christian, many thanks for writing a bug report. Unfortunately I can't repeat this: I installed MySQL 5.0.45 from source (compiled it) Also I installed MySQL 5.1.23-ndb-6.3.10-telco from source. I made a mysql_install_db for MySQL 5.0.45 to get a data directory. I copied your data into my MySQL 5.0.45 data directory (/MYPATH/var/mydb/projects_notes*). I started MySQL 5.0.45 and opened the CLI for looking if your table is in my database. All were fine. Now I copied the data directory from MySQL 5.0.45 to MySQL 5.1.23-ndb-6.3.10-telco. I started the daemon with ./libexec/mysqld --defaults-path=/MYPATH/my.cnf The daemon suggested to make a mysql_upgrade first. I made: ./bin/mysql_upgrade all works fine ... I started CLI: mysql> select * from projects_notes; lots of results ... looks good mysql> repair table projects_notes; +------------------------+--------+----------+----------+ | Table | Op | Msg_type | Msg_text | +------------------------+--------+----------+----------+ | miracee.projects_notes | repair | status | OK | +------------------------+--------+----------+----------+ looks good too, but: mysql> select * from projects_notes; Server crash with Signal 6 I opened a new bug #35708 and will make a deeper analysation.
[31 Mar 2008 14:33]
Susanne Ebrecht
Christian, I made some more tests here. This only occurs with 5.1.23-ndb-6.3.10-telco. A workaround for you could be: Download our 5.1.23-rc source release tree instead of this telco tree. All will work fine with the 5.1.23-rc version that you can download from: http://dev.mysql.com/downloads/mysql/5.1.html I tested here by compiling from source tree.
[3 Apr 2008 9:12]
Susanne Ebrecht
Set to cluster because this only occurs on 5.1.23-ndb-6.3.10-telco.
[7 Apr 2008 14:56]
Martin Skold
Duplicate of bug#35708
[15 Dec 2008 20:14]
Ravi Partomia
There is one more possible fix. This issue can happen if innodb is disabled i.e. inside my.cnf you can see an entry as "skip-innodb ". You can delete this entry .. This shall fix the issue.