summaryrefslogtreecommitdiff
path: root/myisam/mi_delete.c
diff options
context:
space:
mode:
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);