mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
ftb wasn't able to re-initialize index search (oops! in joins)
This commit is contained in:
parent
5513a8a5e3
commit
20b7379e79
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue