diff options
author | serg@serg.mylan <> | 2006-01-03 18:12:03 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2006-01-03 18:12:03 +0100 |
commit | 30c09d6dc09adcd8aac8769af49402e1812d6455 (patch) | |
tree | cfc5357eb7d1e59ea0163aa88d31bcf7644151d7 /myisam/mi_delete.c | |
parent | 8ce6f3e6ca7fedd2142e784e9aeab72ec2e49951 (diff) | |
parent | 14f94dc0cad1419e74047956c059c1cf9c3e7a2c (diff) | |
download | mariadb-git-30c09d6dc09adcd8aac8769af49402e1812d6455.tar.gz |
merged
Diffstat (limited to 'myisam/mi_delete.c')
-rw-r--r-- | myisam/mi_delete.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/mi_delete.c b/myisam/mi_delete.c index 416d951d138..2010b684300 100644 --- a/myisam/mi_delete.c +++ b/myisam/mi_delete.c @@ -276,7 +276,8 @@ static int d_search(register MI_INFO *info, register MI_KEYDEF *keyinfo, if (subkeys == -1) { /* the last entry in sub-tree */ - _mi_dispose(info, keyinfo, root,DFLT_INIT_HITS); + if (_mi_dispose(info, keyinfo, root,DFLT_INIT_HITS)) + DBUG_RETURN(-1); /* fall through to normal delete */ } else |