• unknown's avatar
    my_time.c: · 9548a075
    unknown authored
      in number_to_datetime(), zero out the MYSQL_TIME structure
      before setting values, to ensure that all fields are initialized; in
      particular, ensure that ->neg is set to zero (fixes valgrind warning
      "Conditional jump ... depends on uninitialised value" in make_date_time)
    
    
    sql-common/my_time.c:
      in number_to_datetime(), zero out the MYSQL_TIME structure
      before setting values, to ensure that all fields are initialized; in
      particular, ensure that ->neg is set to zero (fixes valgrind warning
      "Conditional jump ... depends on uninitialised value" in make_date_time)
    9548a075
my_time.c 37.5 KB