• Martin Hansson's avatar
    Bug#41660: Sort-index_merge for non-first join table may · 2b734bbe
    Martin Hansson authored
    require O(#scans) memory
    
    When an index merge operation was restarted, it would
    re-allocate the Unique object controlling the duplicate row
    ID elimination. Fixed by making the Unique object a member
    of QUICK_INDEX_MERGE_SELECT and thus reusing it throughout
    the lifetime of this object.
    2b734bbe
error_simulation.test 2.83 KB