Commit 2c32fdc6 authored by unknown's avatar unknown

correct fix for the bug #6151

parent 1e9bf28b
......@@ -826,7 +826,7 @@ static uint remove_key(MI_KEYDEF *keyinfo, uint nod_flag,
else
get_key_length(rest_length,keypos);
if (next_length > prev_length)
if (next_length >= prev_length)
{ /* Key after is based on deleted key */
uint pack_length,tmp;
bmove_upp((char*) keypos,(char*) (lastkey+next_length),
......
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