diff options
author | serg@serg.mysql.com <> | 2002-01-19 19:01:55 +0000 |
---|---|---|
committer | serg@serg.mysql.com <> | 2002-01-19 19:01:55 +0000 |
commit | 5c1da27358b2076426f898df57396bed8842828b (patch) | |
tree | 6004b769a7532aaa589a69c3f248e013d2697799 | |
parent | 14c052b3d41aaac6f235aea7b0fca86f2af76fc8 (diff) | |
download | mariadb-git-5c1da27358b2076426f898df57396bed8842828b.tar.gz |
small bugfix
-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 */ |