summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2003-02-22 15:51:21 +0100
committerunknown <serg@serg.mysql.com>2003-02-22 15:51:21 +0100
commit850daeea33e71c82a56907994221af8474f9f651 (patch)
treef33d44f3e9e8a3f2e9f40705bf1369961eee0d1a /myisam
parent3e4c276693cc8949ccebcae73dcc8c184d90746f (diff)
downloadmariadb-git-850daeea33e71c82a56907994221af8474f9f651.tar.gz
make myisamchk -R to work, if the table contains fulltext indexes
Diffstat (limited to 'myisam')
-rw-r--r--myisam/myisamchk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index 08301af506a..ac1d0fbfc4a 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -947,11 +947,11 @@ static int myisamchk(MI_CHECK *param, my_string filename)
uint key;
/*
We can't update the index in mi_sort_records if we have a
- prefix compressed index
+ prefix compressed or fulltext index
*/
my_bool update_index=1;
for (key=0 ; key < share->base.keys; key++)
- if (share->keyinfo[key].flag & HA_BINARY_PACK_KEY)
+ if (share->keyinfo[key].flag & (HA_BINARY_PACK_KEY|HA_FULLTEXT))
update_index=0;
error=mi_sort_records(param,info,filename,param->opt_sort_key,