summaryrefslogtreecommitdiff
path: root/myisam/ft_update.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-10-31 15:49:59 +0100
committerunknown <serg@serg.mylan>2003-10-31 15:49:59 +0100
commitc0c369f081d13dde54ba133bcd1c898a6d81b72c (patch)
tree9c288b02042c2720dbc3848a08d175f98e3c351b /myisam/ft_update.c
parentc926bdc814fd2af3a4e374fc7b3042d8ab868d03 (diff)
downloadmariadb-git-c0c369f081d13dde54ba133bcd1c898a6d81b72c.tar.gz
post-merge fixes
Diffstat (limited to 'myisam/ft_update.c')
-rw-r--r--myisam/ft_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/ft_update.c b/myisam/ft_update.c
index 2dc397e864f..a87f239b8f8 100644
--- a/myisam/ft_update.c
+++ b/myisam/ft_update.c
@@ -324,8 +324,8 @@ uint _mi_ft_convert_to_ft2(MI_INFO *info, uint keynr, uchar *key)
mi_putint(info->buff,length+2,0);
memcpy(info->buff+2, key_ptr, length);
info->buff_used=info->page_changed=1; /* info->buff is used */
- if ((root= _mi_new(info,keyinfo)) == HA_OFFSET_ERROR ||
- _mi_write_keypage(info,keyinfo,root,info->buff))
+ if ((root= _mi_new(info,keyinfo,DFLT_INIT_HITS)) == HA_OFFSET_ERROR ||
+ _mi_write_keypage(info,keyinfo,root,DFLT_INIT_HITS,info->buff))
DBUG_RETURN(-1);
/* inserting the rest of key values */