• Norvald H. Ryeng's avatar
    Bug#11765254 - 58200: ASSERTION FAILED: PARAM.SORT_LENGTH WHEN · d6f4a80e
    Norvald H. Ryeng authored
    GROUPING BY FUNCTIONS.... (PART
    
    The bug was introduced in a patch for bug 49897.
    
    Problem: The assertion inserted by the original patch to guard against
    zero-lenght sort keys during merge phase triggers also when the whole
    set fits in memory.
    
    Fix: Move assert so that it does not trigger if the whole set is in
    memory.
    d6f4a80e
filesort.cc 48.1 KB