• Andrew Gierth's avatar
    Repair crash with unsortable grouping sets. · d2d79887
    Andrew Gierth authored
    If there were multiple grouping sets, none of them empty, all of which
    were unsortable, then an oversight in consider_groupingsets_paths led
    to a null pointer dereference. Fix, and add a regression test for this
    case.
    
    Per report from Dang Minh Huong, though I didn't use their patch.
    
    Backpatch to 10.x where hashed grouping sets were added.
    d2d79887
groupingsets.out 44.9 KB