Commit 5d838897 authored by Mattias Jonsson's avatar Mattias Jonsson

Bug#13025132 - PARTITIONS USE TOO MUCH MEMORY

pre-push fix, removed unused variable.
parent 62a9d7d0
......@@ -4054,7 +4054,7 @@ bool ha_partition::init_record_priority_queue()
*/
if (!m_ordered_rec_buffer)
{
uint map_len, alloc_len;
uint alloc_len;
uint used_parts= bitmap_bits_set(&m_part_info->used_partitions);
/* Allocate record buffer for each used partition. */
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