diff options
author | unknown <serg@serg.mysql.com> | 2002-01-19 19:01:55 +0000 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2002-01-19 19:01:55 +0000 |
commit | 0c57c750a84abb0f822a6fe8ed4ef051ce6105af (patch) | |
tree | 6004b769a7532aaa589a69c3f248e013d2697799 /myisam | |
parent | 616bb29f6de00081d672285bfd86b05dca6fc272 (diff) | |
download | mariadb-git-0c57c750a84abb0f822a6fe8ed4ef051ce6105af.tar.gz |
small bugfix
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_check.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |