1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-22 17:44:29 +03:00
Files
mariadb/sql
Alexander Barkov ba670edfa3 MDEV-12559 Split Item::temporal_precision() into virtual methods in Type_handler
- Adding a new virtual method Type_handler::Item_time_precision()
- Adding a new virtual method Type_handler::Item_datetime_precision()
- Removing Item::temporal_precision() and adding Item::time_precision()
  and Item::datetime_precision() instead.
- Moving Item_func_convert_tz::fix_length_and_dec() from item_timefunc.cc
  to item_timefunc.h. It's only two lines, and we're changing it anyway.
- Removing Item_temporal_typecast::fix_length_and_dec_generic(),
  moving this code to
  Type_handler::Item_{date|time|datetime}_typecast_fix_length_and_dec().
  This allows to get rid of one more field_type() call.
  Also, in the old reduction, Item_date_typecast::fix_length_and_dec()
  unnecessarily called args[0]->temporal_precision(). The new reduction
  does not call args[0]->datetime_precision(), as DATE does not
  have fractional digits.
2017-04-22 21:59:00 +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
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
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
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
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
2017-03-10 18:21:29 +01:00
2017-03-10 18:21:29 +01: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
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