• konstantin@mysql.com's avatar
    WL#926 "SUM(DISTINCT) and AVG(DISTINCT)": improvement of SUM(DISTINCT) and · 983c75f0
    konstantin@mysql.com authored
     implementation of AVG(DISTINCT) which utilizes the approach with Fields.
    The patch implemented in October is portede to the up-to-date tree 
    containing DECIMAL type.
    Tests for AVG(DISTINCT) (although there is not much to test provided
    that SUM(DISTINCT) works), cleanups for COUNT(DISTINCT) and GROUP_CONCAT()
    will follow in another changeset.
    983c75f0
sql_select.cc 398 KB