summaryrefslogtreecommitdiff
path: root/myisam/mi_key.c
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2002-07-26 14:42:51 +0200
committerunknown <serg@sergbook.mysql.com>2002-07-26 14:42:51 +0200
commit4f46239445ff3ea2a6119bc6c3f5f1b4c0f43792 (patch)
tree0ec06db644f83dcda914d46e0e1ecad40ea13ab4 /myisam/mi_key.c
parent55f65c0e4aaa00b18ffac4b972c6e254df78d303 (diff)
downloadmariadb-git-4f46239445ff3ea2a6119bc6c3f5f1b4c0f43792.tar.gz
MyISAM: always store alloced_rec_buff_length with the buffer itself
include/myisam.h: always store alloced_rec_buff_length with the buffer itself myisam/mi_check.c: always store alloced_rec_buff_length with the buffer itself myisam/mi_dynrec.c: always store alloced_rec_buff_length with the buffer itself myisam/mi_extra.c: always store alloced_rec_buff_length with the buffer itself myisam/mi_key.c: always store alloced_rec_buff_length with the buffer itself myisam/mi_open.c: always store alloced_rec_buff_length with the buffer itself myisam/mi_packrec.c: always store alloced_rec_buff_length with the buffer itself myisam/myisamdef.h: 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;