Commit 2d573f58 authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

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

parent 9e8c87e7
...@@ -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