Commit 0c57c750 authored by unknown's avatar unknown

small bugfix

parent 616bb29f
...@@ -382,6 +382,8 @@ int chk_key(MI_CHECK *param, register MI_INFO *info) ...@@ -382,6 +382,8 @@ int chk_key(MI_CHECK *param, register MI_INFO *info)
bzero((char*) &param->unique_count,sizeof(param->unique_count)); bzero((char*) &param->unique_count,sizeof(param->unique_count));
if ((!(param->testflag & T_SILENT))) if ((!(param->testflag & T_SILENT)))
printf ("- check data record references index: %d\n",key+1); printf ("- check data record references index: %d\n",key+1);
if (keyinfo->flag & HA_FULLTEXT)
full_text_keys++;
if (share->state.key_root[key] == HA_OFFSET_ERROR && if (share->state.key_root[key] == HA_OFFSET_ERROR &&
(info->state->records == 0 || keyinfo->flag & HA_FULLTEXT)) (info->state->records == 0 || keyinfo->flag & HA_FULLTEXT))
continue; continue;
...@@ -432,8 +434,6 @@ int chk_key(MI_CHECK *param, register MI_INFO *info) ...@@ -432,8 +434,6 @@ int chk_key(MI_CHECK *param, register MI_INFO *info)
continue; continue;
} }
} }
else
full_text_keys++;
if ((uint) share->base.auto_key -1 == key) if ((uint) share->base.auto_key -1 == key)
{ {
/* Check that auto_increment key is bigger than max key value */ /* Check that auto_increment key is bigger than max key value */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment