summaryrefslogtreecommitdiff
path: root/storage/maria/ma_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_open.c')
-rw-r--r--storage/maria/ma_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_open.c b/storage/maria/ma_open.c
index e3385a73f84..2f5cb525950 100644
--- a/storage/maria/ma_open.c
+++ b/storage/maria/ma_open.c
@@ -121,7 +121,7 @@ static MARIA_HA *maria_clone_internal(MARIA_SHARE *share,
&info.blobs,sizeof(MARIA_BLOB)*share->base.blobs,
&info.buff,(share->base.max_key_block_length*2+
share->base.max_key_length),
- &info.lastkey_buff,share->base.max_key_length*2+1,
+ &info.lastkey_buff,share->base.max_key_length*3,
&info.first_mbr_key, share->base.max_key_length,
&info.maria_rtree_recursion_state,
share->have_rtree ? 1024 : 0,