diff options
author | unknown <serg@serg.mysql.com> | 2002-10-19 20:39:35 +0000 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2002-10-19 20:39:35 +0000 |
commit | 20b7379e7903a4820b3de5ed7075eb4db8919109 (patch) | |
tree | cbf0dbe9a1d28b24ff442cec4117f15d5b210880 /myisam | |
parent | 5513a8a5e3e4749b0ee73c2dbf657655e23dba9a (diff) | |
download | mariadb-git-20b7379e7903a4820b3de5ed7075eb4db8919109.tar.gz |
ftb wasn't able to re-initialize index search (oops! in joins)
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/ft_boolean_search.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/ft_boolean_search.c b/myisam/ft_boolean_search.c index 16096b64515..5ad75ba30c4 100644 --- a/myisam/ft_boolean_search.c +++ b/myisam/ft_boolean_search.c @@ -202,7 +202,8 @@ static void _ftb_init_index_search(FT_INFO *ftb) MI_KEYDEF *keyinfo; my_off_t keyroot; - if (ftb->state != READY || ftb->keynr == NO_SUCH_KEY) + if ((ftb->state != READY && ftb->state !=INDEX_DONE) || + ftb->keynr == NO_SUCH_KEY) return; ftb->state=INDEX_SEARCH; |