1. 22 May, 2007 1 commit
  2. 21 May, 2007 2 commits
  3. 18 May, 2007 9 commits
  4. 17 May, 2007 1 commit
  5. 16 May, 2007 4 commits
  6. 15 May, 2007 2 commits
  7. 14 May, 2007 2 commits
  8. 10 May, 2007 2 commits
  9. 09 May, 2007 3 commits
  10. 08 May, 2007 2 commits
  11. 07 May, 2007 2 commits
  12. 04 May, 2007 4 commits
  13. 03 May, 2007 1 commit
    • evgen@moonbone.local's avatar
      Bug#23656: Wrong conversion result of a DATETIME to integer using CAST function. · 7f9411c1
      evgen@moonbone.local authored
      The generic string to int conversion was used by the Item_func_signed and
      the Item_func_unsigned classes to convert DATE/DATETIME values to the
      SIGNED/UNSIGNED type. But this conversion produces wrong results for such
      values.
      
      Now if the item which result has to be converted can return its result as
      longlong then the item->val_int() method is used to allow the item to carry
      out the conversion itself and return the correct result.
      This condition is checked in the Item_func_signed::val_int() and the
      Item_func_unsigned::val_int() functions.
      7f9411c1
  14. 02 May, 2007 2 commits
  15. 30 Apr, 2007 1 commit
  16. 29 Apr, 2007 2 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
      Merge bk@192.168.21.1:mysql-4.1 · 2d803761
      holyfoot/hf@mysql.com/hfmain.(none) authored
      into  mysql.com:/d2/hf/mrg/mysql-4.1-opt
      2d803761