mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-engines
into dator6.(none):/home/mikael/mysql_clones/mysql-5.1-engines
This commit is contained in:
commit
2505979575
1 changed files with 3 additions and 0 deletions
|
@ -281,6 +281,9 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
|
|||
if (share->options & HA_OPTION_COMPRESS_RECORD)
|
||||
share->base.max_key_length+=2; /* For safety */
|
||||
|
||||
/* Add space for node pointer */
|
||||
share->base.max_key_length+= share->base.key_reflength;
|
||||
|
||||
if (!my_multi_malloc(MY_WME,
|
||||
&share,sizeof(*share),
|
||||
&share->state.rec_per_key_part,sizeof(long)*key_parts,
|
||||
|
|
Loading…
Reference in a new issue