• kaa@polly.local's avatar
    Fixes a number of problems with time/datetime <-> string conversion functions: · 609a3cd2
    kaa@polly.local authored
    - bug #11655 "Wrong time is returning from nested selects - maximum time exists
    - input and output TIME values were not validated properly in several conversion functions
    - bug #20927 "sec_to_time treats big unsigned as signed"
    - integer overflows were not checked in several functions. As a result, input values like 2^32 or 3600*2^32 were treated as 0
    - BIGINT UNSIGNED values were treated as SIGNED in several functions
    - in cases where both input string truncation and out-of-range TIME value occur, only 'truncated incorrect time value' warning was produced
    609a3cd2
my_time.h 2.8 KB