summaryrefslogtreecommitdiff
path: root/storage/myisam/mi_delete.c
diff options
context:
space:
mode:
authorunknown <istruewing@chilla.local>2006-09-28 21:55:03 +0200
committerunknown <istruewing@chilla.local>2006-09-28 21:55:03 +0200
commit5321983e005ec332fcebd0b7f4f03960dc550468 (patch)
treed4821cfe58485d77dd30fee2cb622adeb97c75e7 /storage/myisam/mi_delete.c
parent07ef7461a0f859601784a94b1014ce66e7a6a528 (diff)
parent43f00a0994f7bc967d4e8b1ebb22f3f0f533d6e0 (diff)
downloadmariadb-git-5321983e005ec332fcebd0b7f4f03960dc550468.tar.gz
Merge chilla.local:/home/mydev/mysql-5.0-bug22384
into chilla.local:/home/mydev/mysql-5.1-bug22384 storage/myisam/mi_delete.c: Auto merged
Diffstat (limited to 'storage/myisam/mi_delete.c')
-rw-r--r--storage/myisam/mi_delete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/mi_delete.c b/storage/myisam/mi_delete.c
index 2bc99d65dd2..85cc60bdd9d 100644
--- a/storage/myisam/mi_delete.c
+++ b/storage/myisam/mi_delete.c
@@ -446,7 +446,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,