• Mattias Jonsson's avatar
    Bug#14845133: · 9b50775d
    Mattias Jonsson authored
    The problem is related to the changes made in bug#13025132.
    get_partition_set can do dynamic pruning which limits the partitions
    to scan even further. This is not accounted for when setting
    the correct start of the preallocated record buffer used in
    the priority queue, thus leading to wrong buffer is used
    (including wrong preset partitioning id, connected to that buffer).
    
    Solution is to fast forward the buffer pointer to point to the correct
    partition record buffer.
    9b50775d
ha_partition.cc 210 KB