• Martin Hansson's avatar
    Bug#41660: Sort-index_merge for non-first join table may · dac59fa9
    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.
    dac59fa9
error_simulation.test 2.83 KB