• Alexander Barkov's avatar
    MDEV-16938 Move Item::get_time_with_conversion() to Time · 2085f14a
    Alexander Barkov authored
    The affected code is well covered by tests for MDEV-8766.
    Adding only the missing part: the old mode OLD_MODE_ZERO_DATE_TIME_CAST
    in combination with 0000-MM-00 and YYYY-00-00.
    
    The old mode in combination with 0000-00-DD was already covered,
    so was the new mode with all types of DATETIME values.
    2085f14a
sql_time.cc 40.2 KB