mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
make myisamchk -R to work, if the table contains fulltext indexes
This commit is contained in:
@@ -947,11 +947,11 @@ static int myisamchk(MI_CHECK *param, my_string filename)
|
|||||||
uint key;
|
uint key;
|
||||||
/*
|
/*
|
||||||
We can't update the index in mi_sort_records if we have a
|
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;
|
my_bool update_index=1;
|
||||||
for (key=0 ; key < share->base.keys; key++)
|
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;
|
update_index=0;
|
||||||
|
|
||||||
error=mi_sort_records(param,info,filename,param->opt_sort_key,
|
error=mi_sort_records(param,info,filename,param->opt_sort_key,
|
||||||
|
Reference in New Issue
Block a user