• unknown's avatar
    bug #19491 (CAST do DATETIME wrong result) · 01a0be19
    unknown authored
    
    mysql-test/r/type_datetime.result:
      result fixed
    mysql-test/r/type_newdecimal.result:
      result fixed
    mysql-test/t/type_datetime.test:
      testcase
    mysql-test/t/type_newdecimal.test:
      testcase
    sql/field.cc:
      Field_new_decimal::store_time implemented
    sql/field.h:
      Field_new_decimal::store_time added
    sql/item.cc:
      auxiliary methods implemented to operate with datatimes
    sql/item.h:
      auxiliary methods declared in Item to operate with datatimes
    sql/item_timefunc.cc:
      Item_date::save_in_field old implementation removed
    sql/item_timefunc.h:
      my_decimal and save_in_field methods implemented for datetime items
    sql/my_decimal.cc:
      date2my_decimal implemented
    sql/my_decimal.h:
      date2my_decimal declared
    01a0be19
item_timefunc.h 27.5 KB