Merge bk-internal.mysql.com:/home/bk/mysql-4.0

into  chilla.local:/home/mydev/mysql-4.0-bug20719
This commit is contained in:
istruewing@chilla.local 2006-09-29 19:55:09 +02:00
commit c2d73af1b2

View file

@ -348,7 +348,7 @@ static int del(register MI_INFO *info, register MI_KEYDEF *keyinfo, uchar *key,
else
{
DBUG_PRINT("test",("Inserting of key when deleting"));
if (_mi_get_last_key(info,keyinfo,leaf_buff,keybuff,endpos,
if (!_mi_get_last_key(info,keyinfo,leaf_buff,keybuff,endpos,
&tmp))
goto err;
ret_value=_mi_insert(info,keyinfo,key,leaf_buff,endpos,keybuff,