• unknown's avatar
    Fix sorting of NULL values (Should always be first) · ad4fcb8a
    unknown authored
    Fix problem with HAVING and MAX() IS NOT NULL
    
    
    Docs/manual.texi:
      Changelog & NULL usage with ORDER BY
    client/mysqldump.c:
      Cleanup disable keys
    mysql-test/r/distinct.result:
      Fix results after ORDER BY with NULL fix
    mysql-test/r/group_by.result:
      Fix results after ORDER BY with NULL fix
    mysql-test/r/having.result:
      Testcase for bug with HAVING
    mysql-test/t/distinct.test:
      Test for DISTINCT + ORDER BY DESC bug
    mysql-test/t/having.test:
      Test of HAVING and MAX IS NOT NULL
    sql/filesort.cc:
      Fix sorting of NULL values (Should always be first)
    sql/item.h:
      Fix problem with HAVING and MAX() IS NOT NULL
    sql/item_sum.h:
      Fix problem with HAVING and MAX() IS NOT NULL
    sql/opt_range.cc:
      Fix problem with HAVING and MAX() IS NOT NULL
    sql/opt_range.h:
      Fix sorting of NULL values
    sql/sql_select.cc:
      Fix sorting of ORDER BY ... DESC on NULL values.
    ad4fcb8a
item_sum.h 13.7 KB