summaryrefslogtreecommitdiff
path: root/myisam/mi_delete.c
diff options
context:
space:
mode:
authorserg@serg.mylan <>2003-06-12 12:41:29 +0200
committerserg@serg.mylan <>2003-06-12 12:41:29 +0200
commit1d679dbee88136702259d6237dacdaa98b9a6a67 (patch)
tree8ab10bbbe87e3d6309fef9bcd37798d31d659500 /myisam/mi_delete.c
parent17ca45684896c4b4e84f0ba0961bbd07d1af9091 (diff)
downloadmariadb-git-1d679dbee88136702259d6237dacdaa98b9a6a67.tar.gz
FT2 bug in mi_delete fixed
Diffstat (limited to 'myisam/mi_delete.c')
-rw-r--r--myisam/mi_delete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_delete.c b/myisam/mi_delete.c
index 97d2f531f6f..2ab5c5d0319 100644
--- a/myisam/mi_delete.c
+++ b/myisam/mi_delete.c
@@ -260,7 +260,7 @@ static int d_search(register MI_INFO *info, register MI_KEYDEF *keyinfo,
{
DBUG_PRINT("info",("FT2: going down"));
keyinfo=&info->s->ft2_keyinfo;
- kpos-=keyinfo->keylength; /* we'll modify key entry 'in vivo' */
+ kpos-=keyinfo->keylength+nod_flag; /* we'll modify key entry 'in vivo' */
key+=off;
ret_value=_mi_ck_real_delete(info, &info->s->ft2_keyinfo,
key, HA_FT_WLEN, &root);