diff options
author | unknown <serg@serg.mylan> | 2003-06-28 23:54:33 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-06-28 23:54:33 +0200 |
commit | db0c3c203b6d0dd7ccbba99c7977369a1ef0c1aa (patch) | |
tree | 116739a2b461358005f2da66d5a531134dcf713d /myisam | |
parent | 6732f7a962cd06be92b20d27e5b61cc714f9c95f (diff) | |
download | mariadb-git-db0c3c203b6d0dd7ccbba99c7977369a1ef0c1aa.tar.gz |
fixed a bug that made 4.0 MYI+FT files unreadable in 4.1
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_open.c | 1 | ||||
-rw-r--r-- | myisam/myisamchk.c | 2 |
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)) |