>Description:
When updating a table with a fulltext index, the fulltext index becomes
corrupted. The Error "ERROR 1034 at line 76: Incorrect key file for table: 'test'; try
to repair it" is dislpayed. The error is not produced when there is no fulltext index.
>How-To-Repeat:
Download sql script from http://www.kirkpatrick.me.uk/bug.sql.tar.gz
I have replicated this on 4.1.1 on both Linux and Win32. The problem does not
happen on 4.0
>Fix:
If you drop the fulltext index before the update and then receate it no error
is produced.
>Submitter-Id: <submitter ID>
>Originator:
>Organization:
>MySQL support: none
>Synopsis: Fulltext index corruption on update
>Severity: critical
>Priority: high
>Category: mysql
>Class: sw-bug
>Release: mysql-4.1.1-alpha-standard (Official MySQL RPM)
>Server: /usr/bin/mysqladmin Ver 8.40 Distrib 4.1.1-alpha, for pc-linux on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Server version 4.1.1-alpha-Max
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 35 min 43 sec
Threads: 3 Questions: 4694 Slow queries: 0 Opens: 68 Flush tables: 1 Open tables:
37 Queries per second avg: 2.190
>C compiler: 2.95.3
>C++ compiler: 2.95.3
>Environment:
System: Linux ns.magwebserver.co.uk 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686
i386 GNU/Linux
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking
--with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Compilation info: CC='gcc' CFLAGS='-O2 -mcpu=i486 -fno-strength-reduce' CXX='g++'
CXXFLAGS='-O2 -mcpu=i486 -fno-strength-reduce -felide-constructors
-fno-exceptions -fno-rtti ' LDFLAGS='' ASFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Nov 25 09:46 /lib/libc.so.6 -> libc-2.3.2.so
-rwxr-xr-x 1 root root 1561228 Nov 13 00:56 /lib/libc-2.3.2.so
-rw-r--r-- 1 root root 2332200 Nov 13 00:18 /usr/lib/libc.a
-rw-r--r-- 1 root root 204 Nov 12 23:49 /usr/lib/libc.so
Configure command: ./configure '--disable-shared' '--with-mysqld-ldflags=-all-static'
'--with-client-ldflags=-all-static' '--with-server-suffix=-standard'
'--without-embedded-server' '--without-berkeley-db' '--with-innodb' '--without-vio'
'--without-openssl' '--enable-assembler' '--enable-local-infile'
'--with-mysqld-user=mysql' '--with-unix-socket-path=/var/lib/mysql/mysql.sock'
'--prefix=/' '--with-extra-charsets=complex' '--exec-prefix=/usr'
'--libexecdir=/usr/sbin' '--libdir=/usr/lib' '--sysconfdir=/etc'
'--datadir=/usr/share' '--localstatedir=/var/lib/mysql' '--infodir=/usr/share/info'
'--includedir=/usr/include' '--mandir=/usr/share/man' '--enable-thread-safe-client'
'--with-comment=Official MySQL RPM' 'CC=' 'CFLAGS=-O2 -mcpu=i486 -fno-strength-reduce'
'CXXFLAGS=-O2 -mcpu=i486 -fno-strength-reduce -felide-constructors
-fno-exceptions -fno-rtti ' 'CXX='
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]