summaryrefslogtreecommitdiff
path: root/myisam/mi_key.c
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-07-24 19:55:08 +0300
committermonty@mashka.mysql.fi <>2002-07-24 19:55:08 +0300
commitc702a1f8fda0814db36801b91c601329225f8030 (patch)
tree31ee919bea7e4456572b62d5ea7302dc58bc0b6a /myisam/mi_key.c
parent00089b8148dfc8b3e4cf2be94ec33fc51665f529 (diff)
downloadmariadb-git-c702a1f8fda0814db36801b91c601329225f8030.tar.gz
Removed wrong implementation of CUBE/ROLLUP
Fixed bugfix of INSERT ... SET db_name.table_name.column_name Changed locking to external-locking Fix client hangup for some invalid SQL queries.
Diffstat (limited to 'myisam/mi_key.c')
-rw-r--r--myisam/mi_key.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/myisam/mi_key.c b/myisam/mi_key.c
index 6ec8668ab61..3cee1f301e1 100644
--- a/myisam/mi_key.c
+++ b/myisam/mi_key.c
@@ -250,7 +250,9 @@ static int _mi_put_key_in_record(register MI_INFO *info, uint keynr,
if (info->blobs && info->s->keyinfo[keynr].flag & HA_VAR_LENGTH_KEY)
{
if (!(blob_ptr=
- mi_fix_rec_buff_for_blob(info, info->s->keyinfo[keynr].keylength)))
+ mi_alloc_rec_buff(info, info->s->keyinfo[keynr].keylength,
+ &info->rec_buff,
+ &info->alloced_rec_buff_length)))
goto err;
}
key=(byte*) info->lastkey;