1. 07 May, 2007 1 commit
  2. 06 May, 2007 1 commit
  3. 04 May, 2007 12 commits
  4. 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
  5. 02 May, 2007 1 commit
  6. 01 May, 2007 2 commits
  7. 30 Apr, 2007 5 commits
  8. 29 Apr, 2007 17 commits