1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/sql
Kristofer.Pettersson@naruto. 887f3b9d42 Bug#21811 Odd casting with date + INTERVAL arithmetic
- Type casting was not consequent, thus when adding a DATE type with
  a WEEK interval the result type was DATETIME and not DATE as is the
  norm.
- By changing the order of the date internal enumerations the deviant
  type casting is resolved (Item_date_add_interval::fix_length_and_dec()
  which determines result type for this operation assumes that addition
  of any interval with value <= INTERVAL_DAY to date value will result
  in date). There are two independant places to change:
  interval_names[] and interval_type.
2006-10-02 12:37:01 +02:00
..
2005-09-30 14:03:55 +02:00
2006-08-15 01:54:14 -07:00
2005-11-03 22:42:25 +02:00
2006-03-30 17:14:55 +04:00
2006-08-18 14:16:11 +02:00
2006-04-13 17:22:56 +09:30
2006-05-30 17:10:53 -07:00
2006-07-21 10:14:25 -07:00
2005-08-12 13:54:42 +03:00
2006-08-24 20:56:28 +04:00
2006-04-04 17:54:58 -07:00
2006-09-01 10:32:12 +02:00
2006-09-01 10:32:12 +02:00
2006-09-08 16:16:39 +05:00
2006-07-08 04:07:43 +04:00
2006-08-23 15:46:57 -06:00
2006-09-08 16:16:39 +05:00
2006-09-07 18:09:49 +05:00
2006-09-07 18:09:49 +05:00
2006-06-27 00:47:52 +04:00
2006-09-07 18:09:49 +05:00
2006-09-07 18:09:49 +05:00
2006-08-21 16:21:48 +04:00
2005-08-12 17:57:19 +03:00
2006-09-08 16:16:39 +05:00
2006-09-07 18:09:49 +05:00
2006-05-03 21:35:27 -07:00
2006-04-21 08:19:38 -07:00
2006-09-08 16:16:39 +05:00
2006-06-14 23:54:08 +04:00
2006-06-27 00:47:52 +04:00