Commit 20b7379e authored by unknown's avatar unknown

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

parent 5513a8a5
...@@ -202,7 +202,8 @@ static void _ftb_init_index_search(FT_INFO *ftb) ...@@ -202,7 +202,8 @@ static void _ftb_init_index_search(FT_INFO *ftb)
MI_KEYDEF *keyinfo; MI_KEYDEF *keyinfo;
my_off_t keyroot; 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; return;
ftb->state=INDEX_SEARCH; ftb->state=INDEX_SEARCH;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment