• mhansson/martin@linux-st28.site's avatar
    Bug#32798: DISTINCT in GROUP_CONCAT clause fails when ordering by a column · cdeecc51
    mhansson/martin@linux-st28.site authored
    with null values
    
    For queries containing GROUP_CONCAT(DISTINCT fields ORDER BY fields), there 
    was a limitation that the DISTINCT fields had to be the same as ORDER BY 
    fields, owing to the fact that one single sorted tree was used for keeping 
    track of tuples, ordering and uniqueness. Fixed by introducing a second 
    structure to handle uniqueness so that the original structure has only to 
    order the result.
    cdeecc51
func_gconcat.result 38.9 KB