Martin Hansson
03db0de64f
Bug#59173: Failure to handle DATE(TIME) values where Year, Month or Day is
...
ZERO
When dates are represented internally as strings, i.e. when a string constant
is compared to a date value, both values are converted to long integers,
ostensibly for fast comparisons. DATE typed integer values are converted to
DATETIME by multiplying by 1,000,000 (each digit pair representing hour,
minute and second, respectively). But the mechanism did not distuinguish
cached INTEGER values, already in correct format, from newly converted
strings.
Fixed by marking the INTEGER cache as being of DATETIME format.
2011-01-19 15:09:32 +01:00
..
2010-05-24 21:54:08 +08:00
2009-12-18 14:00:30 +02:00
2010-03-25 23:57:06 +04:00
2011-01-04 14:36:37 +01:00
2010-02-25 23:13:11 +04:00
2010-05-28 00:07:40 +04:00
2010-02-02 14:17:21 +02:00
2010-04-22 15:52:00 +02:00
2010-04-22 15:52:00 +02:00
2009-11-25 12:25:49 +05:30
2009-11-30 10:54:26 +05:30
2010-11-25 03:11:05 +00:00
2010-11-11 07:34:14 +00:00
2009-12-22 13:52:23 +04:00
2010-05-24 21:54:08 +08:00
2010-01-16 15:44:24 +08:00
2010-03-09 16:09:32 +01:00
2010-05-24 21:54:08 +08:00
2010-11-26 16:58:54 +03:00
2010-11-18 11:53:08 +03:00
2010-03-22 16:27:59 +04:00
2011-01-17 15:11:33 +03:00
2010-04-06 12:26:59 +05:00
2010-11-11 13:25:23 +03:00
2010-10-12 23:25:40 +04:00
2010-11-12 13:12:15 +03:00
2009-11-18 13:49:45 +01:00
2010-08-31 02:16:38 +04:00
2010-12-14 12:33:03 +03:00
2010-11-15 16:17:38 +01:00
2010-06-29 10:28:17 +02:00
2010-05-19 11:18:59 +02:00
2010-10-18 16:12:27 +04:00
2010-05-24 21:54:08 +08:00
2009-12-22 17:52:15 +02:00
2010-10-18 14:47:26 +04:00
2010-04-03 00:30:22 +04:00
2010-12-13 13:39:26 +03:00
2010-12-21 15:30:07 +03:00
2010-06-22 22:53:08 +04:00
2010-06-08 10:22:40 +04:00
2011-01-17 12:30:22 +03:00
2010-12-24 14:05:04 +03:00
2010-10-12 23:28:03 +04:00
2011-01-13 08:57:15 +01:00
2010-10-31 19:04:38 +03:00
2010-03-25 15:49:01 +04:00
2011-01-15 00:56:09 +04:00
2010-10-18 21:03:53 +07:00
2010-10-13 12:28:58 +07:00
2010-10-29 12:23:06 +04:00
2010-06-11 09:38:29 +02:00
2010-06-09 14:45:04 +04:00
2010-07-09 14:39:47 +04:00
2010-06-25 12:01:47 +04:00
2010-12-19 18:07:28 +01:00
2010-05-28 00:07:40 +04:00
2010-08-09 13:39:59 +02:00
2010-10-29 12:23:06 +04:00
2010-09-07 15:43:00 +02:00
2010-11-05 15:26:38 +01:00
2010-11-25 03:11:05 +00:00
2010-07-14 14:54:51 +03:00
2009-12-18 18:32:55 -02:00
2010-05-28 00:07:40 +04:00
2010-05-12 13:19:12 +02:00
2010-02-26 09:22:48 -03:00
2010-11-07 23:42:54 +06:00
2010-10-19 12:27:09 +02:00
2010-10-19 12:27:09 +02:00
2010-06-25 15:59:44 +03:00
2010-04-26 15:44:10 +02:00
2010-03-12 10:33:16 +04:00
2010-12-14 12:33:03 +03:00
2010-03-12 14:43:30 +04:00
2010-07-30 09:17:10 -03:00
2010-07-01 12:05:09 +03:00
2010-12-01 12:25:31 +05:30
2011-01-16 02:04:08 +05:30
2011-01-12 19:32:45 +00:00
2010-11-05 15:26:38 +01:00
2010-12-29 11:52:57 +08:00
2011-01-14 19:50:34 +05:30
2010-06-03 10:31:26 +02:00
2010-06-03 10:31:26 +02:00
2011-01-11 10:54:42 +01:00
2010-02-07 00:12:04 +00:00
2010-01-29 16:54:27 +02:00
2010-09-13 13:33:19 +02:00
2010-05-07 00:41:37 +04:00
2010-10-01 13:39:04 +02:00
2009-12-13 23:29:50 +03:00
2010-02-01 16:07:00 +01:00
2010-12-22 10:50:36 +01:00
2010-11-15 23:27:37 +01:00
2010-01-07 11:22:45 +01:00
2010-01-18 17:49:18 +01:00
2010-10-15 20:13:35 +05:00
2010-07-08 14:36:55 +02:00
2010-08-20 21:17:51 +02:00
2010-08-26 17:14:18 +02:00
2010-08-11 14:13:59 +02:00
2010-12-22 10:50:36 +01:00
2010-03-09 09:16:17 -03:00
2010-12-02 09:13:31 +01:00
2010-06-09 16:07:34 +04:00
2010-01-16 15:44:24 +08:00
2010-10-01 14:08:38 +04:00
2010-03-24 17:37:41 +01:00
2010-08-24 19:51:32 +04:00
2010-05-21 22:47:32 +04:00
2010-09-09 16:46:13 +04:00
2010-06-26 19:36:00 +02:00
2010-06-24 21:13:08 +04:00
2009-12-15 11:03:24 +02:00
2010-03-31 16:12:37 +03:00
2010-02-05 13:39:46 +04:00
2010-01-15 10:51:39 +02:00
2010-05-24 21:54:08 +08:00
2010-11-11 10:52:51 +06:00
2009-11-21 09:18:21 -02:00
2009-11-27 18:10:28 +02:00
2009-12-02 15:17:08 +04:00
2009-12-23 17:44:03 +04:00
2010-07-28 12:59:19 -03:00
2011-01-12 09:55:31 +01:00
2010-04-15 17:04:24 +03:00
2010-04-01 18:49:02 +04:00
2010-08-06 23:29:37 +04:00
2010-09-07 15:53:46 +07:00
2010-04-01 10:15:22 -03:00
2010-02-16 13:13:49 +04:00
2010-10-31 19:04:38 +03:00
2010-03-16 10:20:07 +01:00
2011-01-19 15:09:32 +01:00
2009-11-20 12:10:47 +02:00
2010-05-31 13:25:11 +04:00
2010-09-13 11:18:35 +04:00
2010-03-22 12:33:25 +04:00
2010-03-18 11:26:27 +01:00
2010-01-06 12:24:51 +02:00
2010-07-19 11:03:52 +02:00
2010-05-21 22:47:32 +04:00
2010-11-22 09:57:59 +01:00
2010-02-11 14:26:58 +01:00
2010-09-22 23:33:18 +04:00
2010-11-15 16:17:38 +01:00
2010-11-25 03:11:05 +00:00
2010-03-09 07:36:26 -03:00
2011-01-12 16:08:30 +03:00
2010-12-14 12:33:03 +03:00
2010-10-19 13:54:28 +02:00
2010-03-10 19:31:22 +04:00
2011-01-18 09:38:41 +03:00