1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-16 20:23:18 +03:00
Files
mariadb/mysql-test/r
unknown 1382df5aff Fix for bug #6914 "Problems using time()/date() output in expressions".
When we cast datetime value to DATE (TIME) type we should throw away its
time (date) part. This was not done properly if CAST() function was used
in datetime expressions.


mysql-test/r/cast.result:
  Added test for bug #6914 "Problems using time()/date() output in
  expressions".
mysql-test/t/cast.test:
  Added test for bug #6914 "Problems using time()/date() output in
  expressions".
sql/item_timefunc.cc:
  Item_time_typecast::get_time()/Item_date_typecast::get_date():
    When we cast datetime value to DATE we should throw away its time part.
    When we cast such value to TIME type we should throw away its date part.
2004-12-30 13:39:01 +03:00
..
2004-05-05 17:05:24 +03:00
2004-09-27 17:01:26 +02:00
2003-12-10 04:31:42 +00:00
2003-12-10 04:31:42 +00:00
2004-03-30 02:32:41 +03:00
2004-05-13 23:47:20 +03:00
2004-08-26 18:26:38 +03:00
2003-11-21 01:53:01 +02:00
2004-08-26 18:26:38 +03:00
2004-02-16 10:03:25 +02:00
2004-11-02 16:02:12 +04:00
2003-12-10 04:31:42 +00:00
2004-09-27 17:01:26 +02:00
2004-10-07 10:50:13 +03:00
2003-12-10 04:31:42 +00:00
2004-09-16 00:47:45 +06:00
2004-11-24 23:16:16 +01:00
2004-12-23 17:32:29 +01:00
2004-05-13 23:47:20 +03:00
2003-12-10 04:31:42 +00:00
2004-10-06 19:14:33 +03:00
2004-11-04 20:39:52 -08:00
2004-08-18 12:11:26 +05:00
2004-03-16 16:35:53 +01:00
2004-05-13 23:47:20 +03:00
2004-12-28 11:57:56 +02:00
2004-07-17 02:09:25 +03:00
2004-10-07 10:50:13 +03:00
2004-06-20 19:11:02 +02:00
2003-12-14 21:31:02 +01:00
2003-12-25 20:11:01 +04:00
2004-08-26 18:26:38 +03:00
2003-12-10 04:31:42 +00:00
2004-03-31 03:32:38 +03:00
2003-12-10 04:31:42 +00:00
2004-06-26 14:21:32 +02:00
2003-12-10 04:31:42 +00:00
2003-12-10 04:31:42 +00:00
2004-09-02 22:06:30 -07:00
2003-12-10 04:31:42 +00:00
2004-02-16 10:03:25 +02:00
2004-12-11 16:36:12 +03:00
2004-09-09 11:22:23 -05:00
2004-11-08 11:06:36 +01:00
2004-11-08 11:06:36 +01:00
2004-12-22 13:38:15 +01:00
2004-11-08 11:11:49 +01:00
2004-09-30 21:36:25 +00:00
2004-05-11 10:40:48 +02:00
2004-10-07 08:42:11 +00:00
2004-08-31 21:10:57 +03:00
2004-09-02 22:06:30 -07:00
2004-08-12 00:02:29 -07:00
2004-09-27 17:01:26 +02:00
2004-11-12 17:44:17 +02:00
2004-12-13 21:00:43 +01:00
2004-12-13 21:00:43 +01:00
2004-12-13 21:00:43 +01:00
2004-12-13 21:00:43 +01:00
2004-12-13 21:00:43 +01:00
2004-10-27 19:52:41 +03:00
2004-05-05 23:29:35 +03:00
2004-10-07 10:50:13 +03:00
2003-12-10 04:31:42 +00:00
2003-12-10 04:31:42 +00:00
2004-05-13 23:47:20 +03:00
2003-12-10 04:31:42 +00:00
2003-10-08 12:01:58 +03:00
2003-10-29 14:23:35 +01:00
2004-07-20 11:00:10 +02:00
2003-12-19 16:25:50 +02:00
2003-12-10 04:31:42 +00:00
2004-06-21 10:21:20 +03:00
2004-06-21 10:21:20 +03:00
2004-02-11 00:06:46 +01:00
2003-09-11 19:06:23 +03:00
2004-05-05 21:24:21 +03:00
2004-02-16 10:03:25 +02:00
2004-05-05 17:05:24 +03:00
2004-03-18 00:09:13 +02:00
2004-05-24 21:12:05 +04:00
2004-11-15 17:03:54 +01:00
2004-05-17 01:52:13 +03:00
2004-09-07 21:30:28 +02:00
2004-05-19 05:09:10 +03:00
2004-08-07 23:18:13 +02:00
2004-11-28 19:48:41 +01:00
2003-12-10 04:31:42 +00:00
2004-07-20 11:00:10 +02:00
2004-12-04 00:14:18 +02:00
2003-12-10 04:31:42 +00:00
2004-11-12 17:44:17 +02:00
2004-08-24 17:24:23 +02:00
2004-08-18 19:57:55 +02:00
2004-06-21 10:24:40 +03:00
2003-12-10 04:31:42 +00:00
2004-09-27 17:01:26 +02:00
2004-08-19 03:02:09 +02:00
2004-02-16 10:03:25 +02:00
2004-12-18 11:57:17 +00:00