• Tor Didriksen's avatar
    Bug#50888 valgrind warnings in Field_timestamp::val_str · 58559ac8
    Tor Didriksen authored
    Ensure that we store the correct cached_field_type whenever we cache Field items
    (in this case it allows us to compare dates as dates, rather than strings)
    
    
    mysql-test/r/type_timestamp.result:
      Add test case.
    mysql-test/t/type_timestamp.test:
      Add test case.
    sql/item.h:
      Initialize cached_field_type from the Field item.
    58559ac8
item.h 109 KB