8 messages in com.mysql.lists.bugsBug in MySQL 4.0.10 - myisamchk with ...
FromSent OnAttachments
Tobias Lind19 Feb 2003 15:39 
Sinisa Milivojevic21 Feb 2003 11:19 
Tobias Lind21 Feb 2003 18:15 
Steven Roussey22 Feb 2003 00:33 
Alexander Keremidarski22 Feb 2003 01:26 
Tobias Lind22 Feb 2003 02:33 
Alexander Keremidarski22 Feb 2003 02:43 
Sergei Golubchik22 Feb 2003 06:53 
Subject:Bug in MySQL 4.0.10 - myisamchk with FULLTEXT-index
From:Tobias Lind (tob.@telia.com)
Date:02/21/2003 06:15:05 PM
List:com.mysql.lists.bugs

Hi! Ok, I finally managed to create a small test case that shows a bug with myisamchk -R on a table with fulltext-index and certain content in the table.

I found the bug in MySQL 4.0.10, binary rpm-version. I also tested on MySQL 3.23.55 (binary rpm), and the bug is also present in that version.

I'm running Red Hat Linux 8.0 MySQL 4.0.10-gamma. Binary RPM version. The machine is a dual P2, 400MHz 768 Mb RAM

How-to-repeat: DROP TABLE IF EXISTS usrProfileTable2; CREATE TABLE usrProfileTable2 ( usrName varchar(40) NOT NULL default '', music text, PRIMARY KEY (usrName), FULLTEXT KEY music (music) ) TYPE=MyISAM;

INSERT INTO usrProfileTable2 VALUES ('amrisen','jag gillar pop musik.'); INSERT INTO usrProfileTable2 VALUES ('amro','markolio'); INSERT INTO usrProfileTable2 VALUES ('Amy-Ery90','MP3/kPOP/kRB'); INSERT INTO usrProfileTable2 VALUES ('Amtil','E.M.M.A');

Shut down mysqld Running: myisamchk -R 1 /var/lib/mysql/kamrat/usrProfileTable2.MYI

...will give me: - Sorting records for MyISAM-table '/var/lib/mysql/kamrat/usrProfileTable2.MYI' Data records: 4 Deleted: 0 myisamchk: error: 126 when updating key-pointers MyISAM-table '/var/lib/mysql/kamrat/usrProfileTable2.MYI' is not fixed because of errors

And the table is corrupt...