Commit 2c32fdc6 authored by unknown's avatar unknown
Browse files

correct fix for the bug #6151

parent 1e9bf28b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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),