diff options
author | serg@sergbook.mysql.com <> | 2002-07-26 14:42:51 +0200 |
---|---|---|
committer | serg@sergbook.mysql.com <> | 2002-07-26 14:42:51 +0200 |
commit | 43ef1198e9d21b5f98380528209aa23a500810c0 (patch) | |
tree | 0ec06db644f83dcda914d46e0e1ecad40ea13ab4 /myisam/mi_key.c | |
parent | 5d978447b237da19f4be21eaab31da1572792536 (diff) | |
download | mariadb-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.c | 3 |
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; |