1. 11 Oct, 2006 1 commit
    • Kristofer.Pettersson@naruto.'s avatar
      BUG#21811 Odd casting with date + INTERVAL arithmetic · 3ef964bb
      Kristofer.Pettersson@naruto. authored
      - Type casting was not consequent, thus when adding a DATE type with
        a WEEK interval the result tpe was DATETIME and not DATE as is the
        norm.
      - By changing the order of the date type enumerations the type casting
        bug is resolved. To comply with the new order the array 
        interval_type_to_name needed to change accordingly.
      3ef964bb
  2. 04 Oct, 2006 1 commit
  3. 02 Oct, 2006 1 commit
    • Kristofer.Pettersson@naruto.'s avatar
      Bug#21811 Odd casting with date + INTERVAL arithmetic · 887f3b9d
      Kristofer.Pettersson@naruto. authored
      - Type casting was not consequent, thus when adding a DATE type with
        a WEEK interval the result type was DATETIME and not DATE as is the
        norm.
      - By changing the order of the date internal enumerations the deviant
        type casting is resolved (Item_date_add_interval::fix_length_and_dec()
        which determines result type for this operation assumes that addition
        of any interval with value <= INTERVAL_DAY to date value will result
        in date). There are two independant places to change:
        interval_names[] and interval_type.
      887f3b9d
  4. 20 Sep, 2006 1 commit
  5. 19 Sep, 2006 17 commits
  6. 18 Sep, 2006 19 commits