Alexey Kopytov
735de9ea7e
Bug #50335 : Assertion `!(order->used & map)' in eq_ref_table
...
The problem was in an incorrect debug assertion. The expression
used in the failing assertion states that when finding
references matching ORDER BY expressions, there can be only one
reference to a single table. But that does not make any sense,
all test cases for this bug are valid examples with multiple
identical WHERE expressions referencing the same table which
are also present in the ORDER BY list.
Fixed by removing the failing assertion. We also have to take
care of the 'found' counter so that we count multiple
references only once. We rely on this fact later in
eq_ref_table().
2010-02-25 18:48:53 +03:00
..
2009-06-17 15:54:01 +02:00
2010-02-09 11:30:50 +01:00
2009-08-13 17:07:20 -03:00
2009-09-29 17:38:40 +02:00
2009-10-04 12:53:02 +03:00
2009-09-29 17:38:40 +02:00
2010-01-19 13:03:40 +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-02-02 16:38:44 +03:00
2010-02-22 16:58:56 +00:00
2010-02-10 18:56:47 +04:00
2010-01-21 17:20:24 +00:00
2010-01-29 15:08:49 +04: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
2009-10-16 13:29:42 +03:00
2010-02-12 10:03:10 +01:00
2009-11-17 20:02:16 +01:00
2009-12-01 11:19:51 +02:00
2009-10-12 14:46:00 +02:00
2008-04-03 13:14:57 -04:00
2010-01-13 12:28:42 +02:00
2010-01-13 12:28:42 +02:00
2010-01-13 10:00:03 +01:00
2009-12-22 14:38:33 +04: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-02-12 13:44:20 +04:00
2008-02-22 13:30:33 +03:00
2010-01-28 19:51:40 -02:00
2010-01-28 19:51:40 -02:00
2009-11-06 22:42:24 +03:00
2009-11-17 17:06:46 +03:00
2010-02-19 19:06:47 +00:00
2009-11-17 17:06:46 +03:00
2009-12-03 13:22:34 +04:00
2009-12-13 23:29:50 +03:00
2009-11-06 22:34:25 +03:00
2010-02-17 16:13:42 +04:00
2010-02-06 23:54:30 +04: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-02-22 14:23:47 +01:00
2010-02-22 14:23:47 +01:00
2010-01-27 19:27:49 +02:00
2010-02-05 17:01:09 +00:00
2009-12-04 14:40:42 +00: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
2008-11-27 12:33:04 +01:00
2009-11-02 09:21:39 -02:00
2010-02-09 11:30:50 +01:00
2009-10-06 13:04:51 +02:00
2010-02-05 10:55:20 -02:00
2009-07-28 22:44:28 +04:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2010-02-09 12:53:13 +04:00
2008-08-25 21:18:22 +04:00
2010-02-09 12:53:13 +04:00
2009-06-19 13:24:43 +05:00
2009-04-13 18:09:10 +05:00
2009-09-23 15:21:29 +02: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
2009-07-29 22:07:08 +02:00
2009-07-29 22:07:08 +02:00
2009-11-03 20:45:52 +03:00
2010-01-22 14:58:21 +04: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-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
2009-12-14 18:50:22 +02: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
2008-06-30 22:11:18 +02:00
2010-01-05 14:25:29 +08:00
2010-01-21 09:10:05 +01:00
2009-09-29 17:38:40 +02:00
2009-12-14 18:32:22 +02: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-02-22 16:58:56 +00:00
2009-11-20 16:18:01 +01: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
2010-02-05 13:39:46 +04:00
2009-11-20 16:18:01 +01:00
2009-08-28 18:21:54 +02:00
2009-06-17 16:56:44 +02:00
2010-02-02 16:38:44 +03:00
2009-11-21 09:18:21 -02:00
2009-06-17 16:56:44 +02:00
2008-03-21 17:48:28 +02:00
2010-02-16 09:54:16 +01:00
2009-10-14 09:39:05 +08:00
2009-11-20 13:49:06 +01:00
2009-11-20 13:49:06 +01:00
2010-02-22 16:58:56 +00:00
2010-02-22 16:58:56 +00:00
2009-12-18 16:44:24 -02:00
2009-12-04 13:36:58 -02:00
2009-12-04 13:36:58 -02:00
2008-12-10 18:16:21 +04:00
2010-01-28 19:51:40 -02:00
2010-01-24 15:03:23 +08:00
2009-05-27 18:19:44 +03:00
2008-02-19 15:45:21 +03:00
2009-02-13 11:41:47 -05:00
2009-09-17 17:25:52 +02:00
2009-06-17 16:56:44 +02:00
2010-02-22 16:58:56 +00:00
2010-02-06 23:54:30 +04:00
2010-02-06 23:54:30 +04:00
2009-06-10 10:59:49 +02:00
2010-01-24 15:03:23 +08:00
2009-10-19 13:41:52 +05:00
2008-12-04 19:41:53 +01:00
2010-02-05 17:01:09 +00:00
2010-01-24 15:03:23 +08:00
2009-12-13 23:29:50 +03:00
2009-12-18 17:14:09 -02:00
2009-05-14 14:03:33 +02:00
2010-01-16 15:44:24 +08:00
2009-07-16 15:37:38 +03:00
2009-06-10 10:59:49 +02:00
2010-01-24 15:03:23 +08:00
2010-02-05 17:51:55 +00:00
2008-03-14 18:38:54 +01:00
2010-02-25 18:48:53 +03:00
2010-02-15 10:54:27 +02:00
2010-01-13 12:39:00 +01:00
2010-01-22 14:58:21 +04:00
2008-11-10 21:21:49 +01:00
2009-07-31 22:14:52 +05:00
2009-07-31 22:14:52 +05:00
2010-02-16 11:42:22 +01:00
2010-01-24 15:03:23 +08:00
2010-01-28 12:10:57 +01:00
2010-01-28 12:41:14 -02:00
2009-01-14 18:50:51 +04:00
2010-01-25 10:55:05 +08:00
2009-12-22 17:52:15 +02:00
2010-02-22 14:23:47 +01:00
2010-02-13 08:35:14 -02:00
2009-04-13 18:09:10 +05:00
2010-02-23 12:17:20 +01:00
2009-09-23 15:21:29 +02:00
2009-11-03 20:45:52 +03:00
2010-02-09 15:43:44 +04:00
2010-02-09 12:53:13 +04:00
2009-06-29 16:00:47 +02: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
2009-09-17 17:25:52 +02:00
2009-06-17 16:56:44 +02:00
2009-09-02 16:19:28 +05:00
2009-07-31 15:28:15 -04:00