• Alexander Barkov's avatar
    MDEV-11913 Split sp_get_item_value() into methods in Type_handler · 02a4bbb4
    Alexander Barkov authored
    This patch also fixes:
     MDEV-11815 SP variables of temporal data types do not replicate correctly
    Temporal values are now printed in temporal literal format, with the
    SQL-standard data type prefix:
      TIME'10:20:30', DATE'2001-01-01', TIMESTAMP'2001-01-01 10:20:30'
    Previously temporal values were printed using the text string notation, e.g.
     _latin1'10:20:30' COLLATE latin1_swedish_ci, hence the bug.
    02a4bbb4
sql_type.cc 71.4 KB