Commit 979446f3 authored by unknown's avatar unknown

Merge mysql.com:/home/dellis/mysqlab/bk/local_mysql-4.1

into  mysql.com:/home/dellis/mysqlab/bk/mysql-5.0

parents 1b7de584 c96665ce
...@@ -266,7 +266,8 @@ FT_INFO *ft_init_nlq_search(MI_INFO *info, uint keynr, byte *query, ...@@ -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. so if ndocs == 0, FT_INFO.doc[] must not be accessed.
*/ */
dlist=(FT_INFO *)my_malloc(sizeof(FT_INFO)+ 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)); MYF(0));
if (!dlist) if (!dlist)
goto err; goto err;
......
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