Commit 5c1da273 authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

small bugfix

parent 14c052b3
......@@ -382,6 +382,8 @@ int chk_key(MI_CHECK *param, register MI_INFO *info)
bzero((char*) &param->unique_count,sizeof(param->unique_count));
if ((!(param->testflag & T_SILENT)))
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 &&
(info->state->records == 0 || keyinfo->flag & HA_FULLTEXT))
continue;
......@@ -432,8 +434,6 @@ int chk_key(MI_CHECK *param, register MI_INFO *info)
continue;
}
}
else
full_text_keys++;
if ((uint) share->base.auto_key -1 == key)
{
/* 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