diff options
author | pappa@c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se <> | 2005-08-25 13:11:38 -0400 |
---|---|---|
committer | pappa@c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se <> | 2005-08-25 13:11:38 -0400 |
commit | 02056f8e3ae729c06875ab63eef8680574b3d91e (patch) | |
tree | 86faf87634c19937967b360a0dd1413fc9eb2879 /storage/heap | |
parent | 1c9a78438e789a70c6ee3f227c164739c4bd25e2 (diff) | |
parent | 0c859d6651277c2ee3664cb14bb34a23d048731f (diff) | |
download | mariadb-git-02056f8e3ae729c06875ab63eef8680574b3d91e.tar.gz |
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.0
into c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1
Diffstat (limited to 'storage/heap')
-rw-r--r-- | storage/heap/hp_delete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/heap/hp_delete.c b/storage/heap/hp_delete.c index 5287533ae0a..2d94418a1bf 100644 --- a/storage/heap/hp_delete.c +++ b/storage/heap/hp_delete.c @@ -80,7 +80,7 @@ int hp_rb_delete_key(HP_INFO *info, register HP_KEYDEF *keyinfo, custom_arg.search_flag= SEARCH_SAME; old_allocated= keyinfo->rb_tree.allocated; res= tree_delete(&keyinfo->rb_tree, info->recbuf, &custom_arg); - info->s->index_length+= (keyinfo->rb_tree.allocated-old_allocated); + info->s->index_length-= (old_allocated - keyinfo->rb_tree.allocated); return res; } |