From 10440cb32b10a1a42469f62ad12f6161c0f74fc7 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 18 Jan 2004 17:29:27 +0100 Subject: 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 --- myisam/mi_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'myisam') diff --git a/myisam/mi_write.c b/myisam/mi_write.c index d13ba6c2c4e..060d4431de6 100644 --- a/myisam/mi_write.c +++ b/myisam/mi_write.c @@ -378,7 +378,7 @@ static int w_search(register MI_INFO *info, register MI_KEYDEF *keyinfo, my_off_t root=info->dupp_key_pos; keyinfo=&info->s->ft2_keyinfo; 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, &root, comp_flag); _mi_dpointer(info, keypos+HA_FT_WLEN, root); -- cgit v1.2.1