1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-25 17:25:02 +03:00
Files
mariadb/mysql-test/r
Alexander Barkov e2b03cd3b5 MDEV-12514 Split Item_temporal_func::fix_length_and_dec() + MDEV-12515
This patch implements MDEV-12514 according to the task descriptions.
It automatically fixes:
MDEV-12515 Wrong value when storing DATE_ADD() and ADDTIME() to a numeric field

Additionally:

a. Moves Item_func::set_attributes_temporal() to
   Type_str_attributes::fix_attributes_temporal(),
  which is a more proper place and name for it.

b. Continues replacing calls for:
     set_handler_by_field_type(MYSQL_TYPE_XXX)
   to corresponding:
     set_handler(&type_handler_xxx)
   which is faster.
   Note, we should eventually get rid of almost all set_handler_by_field_type().

c. Makes type_handler_string, type_handler_time2, type_handler_newdate,
   type_handler_datetime2 public.
   (all built-in handlers will become public eventually)

d. Removing Item_temporal_func::sql_mode, as it was not used.
2017-04-19 05:20:19 +04:00
..
2017-02-10 06:30:42 -05:00
2017-02-10 17:01:45 +01:00
2017-02-10 06:30:42 -05:00
2017-02-10 06:30:42 -05:00
2017-03-10 18:21:26 +01:00
2017-02-10 06:30:42 -05:00
2017-02-10 06:30:42 -05:00
2017-04-01 14:15:18 +03:00
2017-02-10 06:30:42 -05:00
2017-02-10 06:30:42 -05:00
2017-02-10 06:30:42 -05:00
2017-04-01 14:15:18 +03:00
2017-03-10 18:21:26 +01:00
2017-04-03 15:59:38 -07:00
2017-04-03 15:59:38 -07:00
2017-02-10 06:30:42 -05:00
2017-02-10 06:30:42 -05:00
2017-02-10 06:30:42 -05:00
2017-03-09 08:53:08 +02:00
2017-03-30 12:48:42 +02:00
2017-02-09 19:34:01 -08:00
2017-03-29 08:46:00 -07:00
2017-02-10 06:30:42 -05:00