mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ftb wasn't able to re-initialize index search (oops! in joins)
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user