From 0c57c750a84abb0f822a6fe8ed4ef051ce6105af Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 19 Jan 2002 19:01:55 +0000 Subject: small bugfix --- myisam/mi_check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'myisam') diff --git a/myisam/mi_check.c b/myisam/mi_check.c index 45a335b68c8..89fcfe74cea 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -382,6 +382,8 @@ int chk_key(MI_CHECK *param, register MI_INFO *info) bzero((char*) ¶m->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 */ -- cgit v1.2.1