summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--myisam/mi_open.c1
-rw-r--r--myisam/myisamchk.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c
index 178365577aa..5d8f384a5af 100644
--- a/myisam/mi_open.c
+++ b/myisam/mi_open.c
@@ -335,7 +335,6 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
{ /* 4.0 compatibility code, to be removed in 5.0 */
share->keyinfo[i].seg=pos-FT_SEGS;
share->keyinfo[i].keysegs-=FT_SEGS;
- share->state.header.fulltext_keys++;
}
else
{
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index 72b2567278e..b7f8d561a5b 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -876,7 +876,7 @@ static int myisamchk(MI_CHECK *param, my_string filename)
}
else
{
- if (share->state.header.fulltext_keys && !stopwords_inited++)
+ if (!stopwords_inited++)
ft_init_stopwords();
if (!(param->testflag & T_READONLY))