summaryrefslogtreecommitdiff
path: root/myisam/mi_key.c
diff options
context:
space:
mode:
authorserg@sergbook.mysql.com <>2002-07-26 14:42:51 +0200
committerserg@sergbook.mysql.com <>2002-07-26 14:42:51 +0200
commit43ef1198e9d21b5f98380528209aa23a500810c0 (patch)
tree0ec06db644f83dcda914d46e0e1ecad40ea13ab4 /myisam/mi_key.c
parent5d978447b237da19f4be21eaab31da1572792536 (diff)
downloadmariadb-git-43ef1198e9d21b5f98380528209aa23a500810c0.tar.gz
MyISAM: always store alloced_rec_buff_length with the buffer itself
Diffstat (limited to 'myisam/mi_key.c')
-rw-r--r--myisam/mi_key.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/myisam/mi_key.c b/myisam/mi_key.c
index 3cee1f301e1..9ec1ca99e0e 100644
--- a/myisam/mi_key.c
+++ b/myisam/mi_key.c
@@ -251,8 +251,7 @@ static int _mi_put_key_in_record(register MI_INFO *info, uint keynr,
{
if (!(blob_ptr=
mi_alloc_rec_buff(info, info->s->keyinfo[keynr].keylength,
- &info->rec_buff,
- &info->alloced_rec_buff_length)))
+ &info->rec_buff)))
goto err;
}
key=(byte*) info->lastkey;