mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Merge dellis@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/dellis/mysqlab/bk/mysql-4.1
This commit is contained in:
commit
f306c37c86
1 changed files with 2 additions and 1 deletions
|
@ -266,7 +266,8 @@ FT_INFO *ft_init_nlq_search(MI_INFO *info, uint keynr, byte *query,
|
|||
so if ndocs == 0, FT_INFO.doc[] must not be accessed.
|
||||
*/
|
||||
dlist=(FT_INFO *)my_malloc(sizeof(FT_INFO)+
|
||||
sizeof(FT_DOC)*(aio.dtree.elements_in_tree-1),
|
||||
sizeof(FT_DOC)*
|
||||
(int)(aio.dtree.elements_in_tree-1),
|
||||
MYF(0));
|
||||
if (!dlist)
|
||||
goto err;
|
||||
|
|
Loading…
Reference in a new issue