1. 28 May, 2007 2 commits
  2. 01 May, 2007 11 commits
  3. 30 Apr, 2007 24 commits
  4. 29 Apr, 2007 3 commits
    • igor@olga.mysql.com's avatar
      Fixed bug #24856: the result set of a ROLLUP query with DISTINCT could lack · ce0be732
      igor@olga.mysql.com authored
      some rollup rows (rows with NULLs for grouping attributes) if GROUP BY
      list contained constant expressions.
      
      This happened because the results of constant expressions were not put
      in the temporary table used for duplicate elimination. In fact a constant
      item from the GROUP BY list of a ROLLUP query can be replaced for an
      Item_null_result object when a rollup row is produced . 
      
      Now the JOIN::rollup_init function wraps any constant item referenced in
      the GROYP BY list of a ROLLUP query into an Item_func object of a special
      class that is never detected as constant item. This ensures creation of
      fields for such  constant items in temporary tables and guarantees right
      results when the result of the rollup operation first has to be written
      into a temporary table, e.g. in the cases when duplicate elimination is
      required.  
      ce0be732
    • holyfoot/hf@mysql.com/hfmain.(none)'s avatar
      2fe860e8
    • evgen@moonbone.local's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 7505fc82
      evgen@moonbone.local authored
      into  moonbone.local:/mnt/gentoo64/work/16377-bug-5.0-opt-mysql
      7505fc82