Commit 2b93adb9 authored by serg@serg.mylan's avatar serg@serg.mylan

Bug#3808 - fulltext index, delete, 2-level tree, the word on the 1st level has...

Bug#3808 - fulltext index, delete, 2-level tree, the word on the 1st level has different length than the key (latin1_german2_ci)
parent 34524455
...@@ -265,6 +265,7 @@ static int d_search(register MI_INFO *info, register MI_KEYDEF *keyinfo, ...@@ -265,6 +265,7 @@ static int d_search(register MI_INFO *info, register MI_KEYDEF *keyinfo,
{ {
keyinfo=&info->s->ft2_keyinfo; keyinfo=&info->s->ft2_keyinfo;
kpos-=keyinfo->keylength+nod_flag; /* we'll modify key entry 'in vivo' */ kpos-=keyinfo->keylength+nod_flag; /* we'll modify key entry 'in vivo' */
get_key_full_length_rdonly(off, key);
key+=off; key+=off;
ret_value=_mi_ck_real_delete(info, &info->s->ft2_keyinfo, ret_value=_mi_ck_real_delete(info, &info->s->ft2_keyinfo,
key, HA_FT_WLEN, &root); key, 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