1
0
mirror of https://github.com/MariaDB/server.git synced 2025-04-26 11:49:09 +03:00
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-03-30 12:48:42 +02:00
2017-01-11 09:18:35 +02:00
2017-03-10 18:21:29 +01:00
2016-06-30 16:38:05 +02:00
2016-08-25 12:40:09 +02:00
2016-06-04 09:06:00 +02:00
2015-11-19 15:52:14 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2015-09-03 12:58:41 +02:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2016-12-29 13:23:18 +01:00
2016-10-19 14:10:03 +04:00
2016-10-19 14:10:03 +04:00
2017-04-07 18:09:56 +04:00
2017-04-07 18:09:56 +04:00
2017-03-30 12:48:42 +02:00
2017-03-30 12:48:42 +02:00
2017-03-30 12:48:42 +02:00
2015-06-02 22:07:47 +02:00
2015-06-02 22:07:47 +02:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2016-12-29 13:23:18 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-02-13 18:12:05 +01:00
2016-09-28 17:55:28 +02:00
2017-03-30 12:48:42 +02:00
2017-03-10 18:21:29 +01:00
2017-02-13 18:12:15 +01:00
2016-12-11 09:53:42 +01:00
2016-12-29 13:23:18 +01:00
2015-09-03 12:58:41 +02:00
2015-11-19 15:52:14 +01:00
2017-03-30 12:48:42 +02:00
2017-03-03 13:27:12 +02:00
2017-03-30 12:48:42 +02:00
2017-01-05 10:48:03 +02:00
2016-02-15 22:50:59 +01:00
2017-03-30 12:48:42 +02:00
2017-04-07 09:55:54 +02:00
2016-02-25 18:19:55 +01:00
2016-06-04 09:06:00 +02:00
2017-03-30 12:48:42 +02:00
2017-03-30 12:48:42 +02:00
2017-03-07 19:07:27 +02:00
2016-06-30 11:43:02 +02:00
2016-11-24 17:36:02 +03:00
2017-03-07 19:07:27 +02:00
2016-10-05 01:11:08 +03:00
2017-03-30 12:48:42 +02:00
2016-12-29 13:23:18 +01:00
2017-03-30 12:48:42 +02:00
2017-04-06 12:08:58 -07:00
2015-05-05 15:23:47 +02:00
2015-09-03 12:58:41 +02:00
2015-10-24 20:06:59 +02:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2015-08-21 10:40:51 +04:00
2016-10-05 01:11:08 +03:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2017-01-16 03:18:14 +02:00
2016-05-04 15:23:26 +02:00
2016-06-30 16:38:05 +02:00
2017-04-18 12:23:18 +03:00
2017-03-07 19:07:27 +02:00
2017-03-30 12:48:42 +02:00
2016-09-09 08:33:08 +02:00
2017-03-30 12:48:42 +02:00
2016-12-29 13:23:18 +01:00
2017-03-07 19:07:27 +02:00
2017-03-30 12:48:42 +02:00
2015-12-21 21:24:22 +01:00
2015-11-06 17:56:56 +01:00
2016-09-30 17:40:40 -07:00
2017-03-30 12:48:42 +02:00
2017-02-10 17:01:45 +01:00
2016-12-29 13:23:18 +01:00
2017-03-30 12:48:42 +02:00
2016-09-08 22:41:50 +02:00
2016-09-08 22:41:50 +02:00
2016-06-04 09:06:00 +02:00
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01:00
2016-12-29 13:23:18 +01:00
2017-03-10 18:21:29 +01:00
2017-03-30 12:48:42 +02:00
2017-03-30 12:48:42 +02:00
2017-03-30 12:48:42 +02:00
2017-03-30 12:48:42 +02:00
2017-03-30 12:48:42 +02:00
2016-06-30 16:38:05 +02:00
2017-03-30 12:48:42 +02:00
2016-09-09 08:33:08 +02:00
2017-03-30 12:48:42 +02:00