• Sergey Glukhov's avatar
    Bug#11766126 59166: ANOTHER DATETIME VALGRIND UNINITIALIZED WARNING · 0765ef52
    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.
    0765ef52
item_timefunc.h 30.8 KB