ftb wasn't able to re-initialize index search (oops! in joins)

This commit is contained in:
unknown 2002-10-19 20:39:35 +00:00
parent 5513a8a5e3
commit 20b7379e79

View file

@ -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;