Georgi Kodinov
b6e3adf10f
Bug #55565 : debug assertion when ordering by expressions with user
...
variable assignments
The assert() that is firing is checking if expressions that can't be
null return a NULL when evaluated.
MAKEDATE() function can return NULL if the second argument is
less then or equal to 0. Thus its nullability depends not only on
the nullability of its arguments but also on their values.
Fixed by (overoptimistically) setting MAKEDATE() to be nullable
despite the nullability of its arguments.
Test added.
Had to update one test result to reflect the metadata change.
2010-08-13 16:05:46 +03:00
..
2009-06-17 15:54:01 +02:00
2010-03-09 17:51:31 +02:00
2010-03-17 15:10:41 +01:00
2009-08-13 17:07:20 -03:00
2010-04-26 23:59:50 +02:00
2010-03-19 11:06:40 +02:00
2010-03-19 11:06:40 +02:00
2010-06-11 16:52:06 +04:00
2008-05-09 09:43:02 +02:00
2010-01-22 17:38:21 +08:00
2009-02-13 11:41:47 -05:00
2008-11-10 21:21:49 +01:00
2008-05-09 09:43:02 +02:00
2010-02-02 14:17:21 +02:00
2010-03-28 16:37:47 +08:00
2010-03-29 03:32:30 +01:00
2010-07-20 15:07:36 -03:00
2010-03-17 19:15:41 +01:00
2010-07-19 11:03:52 +02:00
2009-02-13 11:41:47 -05:00
2009-06-09 18:11:21 +02:00
2009-10-16 13:29:42 +03:00
2008-03-29 09:52:16 +02:00
2008-03-10 07:07:56 +01:00
2010-04-19 15:48:37 +02:00
2008-02-04 15:40:04 +01:00
2010-07-09 01:09:31 +02:00
2010-07-09 15:00:33 +02:00
2010-04-14 13:53:59 +04:00
2010-07-09 15:00:33 +02:00
2008-04-03 13:14:57 -04:00
2010-07-30 16:35:06 +03:00
2010-08-05 12:42:14 +02:00
2010-06-08 10:28:30 +04:00
2010-07-02 15:30:47 -03:00
2010-03-14 17:01:45 +01:00
2010-07-14 14:54:51 +03:00
2009-12-22 17:52:15 +02:00
2009-11-24 18:26:13 +03:00
2008-02-22 13:30:33 +03:00
2010-03-19 10:21:37 +04:00
2010-03-19 10:21:37 +04:00
2010-05-03 18:14:39 +02:00
2010-03-29 18:42:49 +05:00
2010-06-10 17:45:22 -03:00
2010-04-06 12:26:59 +05:00
2010-06-10 17:45:22 -03:00
2010-06-10 17:45:22 -03:00
2010-07-09 09:00:17 -03:00
2010-08-13 16:05:46 +03:00
2009-11-06 22:34:25 +03:00
2007-11-21 16:00:09 +04:00
2010-07-20 15:07:36 -03:00
2010-07-30 16:35:06 +03:00
2008-10-10 12:01:01 +02:00
2009-07-29 10:54:20 +02:00
2009-08-28 18:21:54 +02:00
2010-07-02 15:30:47 -03:00
2007-12-05 20:00:14 +01:00
2010-07-09 09:00:17 -03:00
2010-07-04 12:02:49 +08:00
2010-07-20 15:07:36 -03:00
2010-05-19 18:01:12 +01:00
2009-09-29 17:38:40 +02:00
2008-10-23 15:28:53 +02:00
2008-10-23 15:28:53 +02:00
2008-10-23 15:28:53 +02:00
2008-10-23 15:28:53 +02:00
2010-07-09 09:00:17 -03:00
2009-11-02 09:21:39 -02:00
2010-07-29 11:00:57 +08:00
2009-10-06 13:04:51 +02:00
2010-07-21 14:14:11 +04:00
2010-06-09 11:29:27 +03:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2010-07-15 17:01:44 +04:00
2010-07-19 11:03:52 +02:00
2010-06-11 09:38:29 +02:00
2009-06-19 13:24:43 +05:00
2009-04-13 18:09:10 +05:00
2010-07-20 15:07:36 -03:00
2009-09-02 18:42:08 +03:00
2009-06-01 16:00:38 +04:00
2008-03-21 17:48:28 +02:00
2010-07-23 18:15:56 +07:00
2009-07-29 22:07:08 +02:00
2009-11-03 20:45:52 +03:00
2010-05-24 17:43:27 +01:00
2008-12-29 17:04:10 +01:00
2009-09-10 11:40:57 +04:00
2010-01-28 19:51:40 -02:00
2010-05-24 17:43:27 +01:00
2010-05-24 17:43:27 +01:00
2010-01-28 19:51:40 -02:00
2009-10-22 01:15:45 +01:00
2009-06-16 16:04:30 +01:00
2009-06-16 16:04:30 +01:00
2010-07-02 15:30:47 -03:00
2009-12-14 18:32:22 +02:00
2009-11-20 16:18:01 +01:00
2008-08-20 19:06:31 +05:00
2010-03-17 15:28:49 +01:00
2010-03-17 19:15:41 +01:00
2007-11-14 16:12:46 -05:00
2010-07-02 15:30:47 -03:00
2010-07-02 15:30:47 -03:00
2010-07-20 15:07:36 -03:00
2009-11-12 17:10:19 +02:00
2010-02-13 08:35:14 -02:00
2008-07-03 23:41:22 +04:00
2010-06-08 10:58:19 +02:00
2010-04-01 10:15:22 -03:00
2009-04-29 07:59:10 +05:00
2009-12-18 16:44:24 -02:00
2009-11-06 22:34:25 +03:00
2008-01-23 13:26:41 -07:00
2010-06-11 16:52:06 +04:00
2009-11-20 16:18:01 +01:00
2010-07-20 15:07:36 -03:00
2010-07-14 16:39:40 -03:00
2010-07-20 15:07:36 -03:00
2009-11-21 09:18:21 -02:00
2010-07-09 09:00:17 -03:00
2008-03-21 17:48:28 +02:00
2007-10-18 14:32:43 +04:00
2010-07-20 15:07:36 -03:00
2010-06-18 21:32:23 +04:00
2008-01-29 14:14:34 +03:00
2010-07-21 14:56:43 +07:00
2009-11-20 13:49:06 +01:00
2010-07-23 18:15:56 +07:00
2010-07-14 11:50:17 +03:00
2010-06-04 21:58:41 +04:00
2009-12-04 13:36:58 -02:00
2009-12-04 13:36:58 -02:00
2010-07-21 14:56:43 +07:00
2010-06-26 19:36:00 +02:00
2010-07-19 11:03:52 +02:00
2010-06-10 17:45:22 -03:00
2008-02-19 15:45:21 +03:00
2009-02-13 11:41:47 -05:00
2010-06-09 14:45:04 +04:00
2009-06-17 16:56:44 +02:00
2010-08-09 13:39:59 +02:00
2010-07-30 17:33:10 -03:00
2010-07-29 11:00:57 +08:00
2010-07-03 10:20:05 -03:00
2010-08-03 10:22:19 +08:00
2009-10-19 13:41:52 +05:00
2008-12-04 19:41:53 +01:00
2007-10-23 14:27:11 +05:00
2010-06-10 17:45:22 -03:00
2010-07-29 11:00:57 +08:00
2010-07-29 11:00:57 +08:00
2010-07-29 11:00:57 +08:00
2010-08-05 15:10:24 +03:00
2009-05-14 14:03:33 +02:00
2010-07-30 09:17:10 -03:00
2010-03-14 17:01:45 +01:00
2009-06-10 10:59:49 +02:00
2010-01-24 15:03:23 +08:00
2010-07-26 11:56:30 +02:00
2008-03-14 18:38:54 +01:00
2010-08-09 13:39:59 +02:00
2010-02-15 10:54:27 +02:00
2010-01-13 12:39:00 +01:00
2010-07-22 11:17:26 -05:00
2008-11-10 21:21:49 +01:00
2010-07-09 09:00:17 -03:00
2009-07-31 22:14:52 +05:00
2010-07-20 15:07:36 -03:00
2010-01-24 15:03:23 +08:00
2010-01-28 12:10:57 +01:00
2010-06-11 16:52:06 +04:00
2009-01-14 18:50:51 +04:00
2010-01-25 10:55:05 +08:00
2010-06-10 17:45:22 -03:00
2010-08-09 13:39:59 +02:00
2010-06-11 16:52:06 +04:00
2009-04-13 18:09:10 +05:00
2010-06-10 17:45:22 -03:00
2009-09-23 15:21:29 +02:00
2009-11-03 20:45:52 +03:00
2010-07-20 15:07:36 -03:00
2010-07-29 11:00:57 +08:00
2010-05-21 15:23:48 +04:00
2009-11-02 13:24:07 +01:00
2009-06-17 16:56:44 +02:00
2009-01-12 17:40:29 +01:00
2010-07-20 15:07:36 -03:00
2007-10-17 17:54:11 -04:00
2009-06-17 16:56:44 +02:00
2010-06-10 17:16:43 -03:00
2010-07-02 15:30:47 -03:00