summaryrefslogtreecommitdiff
path: root/myisam/mi_delete.c
diff options
context:
space:
mode:
authoristruewing@chilla.local <>2006-09-28 21:47:42 +0200
committeristruewing@chilla.local <>2006-09-28 21:47:42 +0200
commitfd2a6a7a4011e3c6b8ac3a740ca631f37a90fae5 (patch)
treef936ce33c145619b27bea160544e7ef725f4a547 /myisam/mi_delete.c
parentaf6b36e8187a9c4090c05c0046cc4a45d9e0cc15 (diff)
parent4027fc8dca26ae421510af32fdefa90e5ec492bb (diff)
downloadmariadb-git-fd2a6a7a4011e3c6b8ac3a740ca631f37a90fae5.tar.gz
Merge chilla.local:/home/mydev/mysql-4.0-bug22384
into chilla.local:/home/mydev/mysql-4.1-bug22384
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 00699e8b089..9bbf10bc38a 100644
--- a/myisam/mi_delete.c
+++ b/myisam/mi_delete.c
@@ -428,7 +428,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,