mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
minor bug fixed
This commit is contained in:
parent
9b1c44cf9d
commit
b6d6f9e79a
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ FT_INFO * ft_init_boolean_search(MI_INFO *info, uint keynr, byte *query,
|
|||
_ftb_parse_query(ftb, &query, query+query_len, ftbe, 0);
|
||||
ftb->list=(FTB_WORD **)alloc_root(&ftb->mem_root,
|
||||
sizeof(FTB_WORD *)*ftb->queue.elements);
|
||||
memcpy(ftb->list, ftb->queue.root, sizeof(FTB_WORD *)*ftb->queue.elements);
|
||||
memcpy(ftb->list, ftb->queue.root+1, sizeof(FTB_WORD *)*ftb->queue.elements);
|
||||
qsort2(ftb->list, ftb->queue.elements, sizeof(FTB_WORD *),
|
||||
(qsort2_cmp)FTB_WORD_cmp_list, 0);
|
||||
if (ftb->queue.elements<2) ftb->with_scan=0;
|
||||
|
|
Loading…
Reference in a new issue