• Norvald H. Ryeng's avatar
    Bug#11765254 - 58200: ASSERTION FAILED: PARAM.SORT_LENGTH WHEN · c6de8c8c
    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.
    
    
    mysql-test/r/group_by.result:
      Add test for bug#11765254
    mysql-test/t/group_by.test:
      Add test for bug#11765254
    sql/filesort.cc:
      Move assertion
    c6de8c8c
group_by.test 45.7 KB