Commit 10440cb3 authored by unknown's avatar unknown

trivial FT2 bug in mi_write fixed

(same as ChangeSet@1.1538.36.1, 2003-06-12 12:41:29+02:00, serg@serg.mylan, "FT2 bug in mi_delete fixed")
BUG#2417
parent bd36268d
...@@ -378,7 +378,7 @@ static int w_search(register MI_INFO *info, register MI_KEYDEF *keyinfo, ...@@ -378,7 +378,7 @@ static int w_search(register MI_INFO *info, register MI_KEYDEF *keyinfo,
my_off_t root=info->dupp_key_pos; my_off_t root=info->dupp_key_pos;
keyinfo=&info->s->ft2_keyinfo; keyinfo=&info->s->ft2_keyinfo;
key+=off; key+=off;
keypos-=keyinfo->keylength; /* we'll modify key entry 'in vivo' */ keypos-=keyinfo->keylength+nod_flag; /* we'll modify key entry 'in vivo' */
error=_mi_ck_real_write_btree(info, keyinfo, key, 0, error=_mi_ck_real_write_btree(info, keyinfo, key, 0,
&root, comp_flag); &root, comp_flag);
_mi_dpointer(info, keypos+HA_FT_WLEN, root); _mi_dpointer(info, keypos+HA_FT_WLEN, root);
......
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