• Sergey Glukhov's avatar
    Bug#11766126 59166: ANOTHER DATETIME VALGRIND UNINITIALIZED WARNING · 3b7f0445
    Sergey Glukhov authored
    Valgrind warning happens because null values check happens too late
    in Item_func_month::val_str(after result string calculation).The fix
    is to check null value before result string calculation.
    
    
    mysql-test/r/func_time.result:
      test case
    mysql-test/t/func_time.test:
      test case
    sql/item_timefunc.h:
      check null value before result string calculation.
    3b7f0445
func_time.result 57.3 KB