mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merge
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user