• Sergei Golubchik's avatar
    lp:731815 Crash/valgrind warning Item::send with 5.1-micro · 3c6ff364
    Sergei Golubchik authored
    Two problems:
    * Item_func_convert_tz() did not tell args[0] that it needs
      TIME_NO_ZERO_IN_DATE result
    * Item_func_timediff did not respect fuzzy_date limitations,
      truncated seconds when casting to signed long, resulting in
      invalid time value (hours, seconds = (uint)-1).
    3c6ff364
item_timefunc.cc 81.7 KB