summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authoristruewing@chilla.local <>2006-09-29 15:28:38 +0200
committeristruewing@chilla.local <>2006-09-29 15:28:38 +0200
commit23f9362026533925730533e69c8e11aeeb945902 (patch)
tree1b7385dca73f03f873e878c9659b073b14bc23b7 /myisam
parentad7da7f1de71afbd189d36c301d4ae077fc774ab (diff)
parent00a7b0e834fd14e3edc797437c2931a196ce7150 (diff)
downloadmariadb-git-23f9362026533925730533e69c8e11aeeb945902.tar.gz
Merge chilla.local:/home/mydev/mysql-5.0--team
into chilla.local:/home/mydev/mysql-5.0-bug22384
Diffstat (limited to 'myisam')
-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 2bc99d65dd2..85cc60bdd9d 100644
--- a/myisam/mi_delete.c
+++ b/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,