Commit 6c6d9b46 authored by Mattias Jonsson's avatar Mattias Jonsson

merge

parents 01c62eb5 5d838897
...@@ -4194,7 +4194,7 @@ bool ha_partition::init_record_priority_queue() ...@@ -4194,7 +4194,7 @@ bool ha_partition::init_record_priority_queue()
*/ */
if (!m_ordered_rec_buffer) if (!m_ordered_rec_buffer)
{ {
uint map_len, alloc_len; uint alloc_len;
uint used_parts= bitmap_bits_set(&m_part_info->used_partitions); uint used_parts= bitmap_bits_set(&m_part_info->used_partitions);
/* Allocate record buffer for each used partition. */ /* Allocate record buffer for each used partition. */
alloc_len= used_parts * (m_rec_length + PARTITION_BYTES_IN_POS); alloc_len= used_parts * (m_rec_length + PARTITION_BYTES_IN_POS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment