summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-01-18 17:29:27 +0100
committerunknown <serg@serg.mylan>2004-01-18 17:29:27 +0100
commit10440cb32b10a1a42469f62ad12f6161c0f74fc7 (patch)
treeccabd87583628146ea940131b4d72931c03252cd /myisam
parentbd36268dd745f3759b7ced7ffd139a29dd080662 (diff)
downloadmariadb-git-10440cb32b10a1a42469f62ad12f6161c0f74fc7.tar.gz
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
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_write.c2
1 files changed, 1 insertions, 1 deletions
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);