timour@mysql.com
a247282aa6
Implementation of WL#2486 -
...
"Process NATURAL and USING joins according to SQL:2003".
* Some of the main problems fixed by the patch:
- in "select *" queries the * expanded correctly according to
ANSI for arbitrary natural/using joins
- natural/using joins are correctly transformed into JOIN ... ON
for any number/nesting of the joins.
- column references are correctly resolved against natural joins
of any nesting and combined with arbitrary other joins.
* This patch also contains a fix for name resolution of items
inside the ON condition of JOIN ... ON - in this case items must
be resolved only against the JOIN operands. To support such
'local' name resolution, the patch introduces a stack of
name resolution contexts used at parse time.
NOTICE:
- This patch is not complete in the sense that
- there are 2 test cases that still do not pass -
one in join.test, one in select.test. Both are marked
with a comment "TODO: WL#2486".
- it does not include a new test specific for the task
2005-08-12 17:57:19 +03:00
..
2005-07-20 20:02:36 +04:00
2005-07-22 12:38:14 -07:00
2005-02-25 16:53:22 +02:00
2005-07-19 11:05:49 -07:00
2005-07-19 16:32:38 -07:00
2005-07-31 12:49:55 +03:00
2005-07-01 07:05:42 +03:00
2005-06-21 20:14:50 +04:00
2005-05-19 18:56:01 +05:00
2005-06-13 12:41:15 +02:00
2005-07-20 20:02:36 +04:00
2005-07-19 22:21:12 +04:00
2005-07-20 20:02:36 +04:00
2005-07-19 22:21:12 +04:00
2005-07-22 12:36:17 -07:00
2005-07-19 22:21:12 +04:00
2005-07-20 20:02:36 +04:00
2005-07-19 22:21:12 +04:00
2005-07-29 00:32:03 +00:00
2005-07-22 14:10:03 +03:00
2005-07-20 20:02:36 +04:00
2005-07-19 22:21:12 +04:00
2005-07-20 20:02:36 +04:00
2005-07-19 22:21:12 +04:00
2005-08-01 11:52:07 +02:00
2005-08-01 11:50:43 +02:00
2005-07-21 01:29:57 -04:00
2005-07-20 20:02:36 +04:00
2005-06-05 19:38:52 +02:00
2005-05-27 14:15:08 +02:00
2005-07-27 13:01:48 +02:00
2005-07-25 12:57:23 -07:00
2005-07-18 19:03:01 +03:00
2005-07-04 16:01:04 +03:00
2005-07-16 00:01:44 +03:00
2005-08-01 17:54:57 -07:00
2005-07-29 03:37:06 +02:00
2005-06-07 00:31:53 +03:00
2005-05-09 11:26:48 +02:00
2005-07-01 07:05:42 +03:00
2005-07-01 07:05:42 +03:00
2005-07-22 12:35:15 -07:00
2005-07-16 00:17:05 +03:00
2005-07-01 07:05:42 +03:00
2005-07-13 18:05:57 +04:00
2005-07-31 02:44:18 -07:00
2005-07-05 11:21:47 +03:00
2005-07-31 12:49:55 +03:00
2005-07-01 07:05:42 +03:00
2005-06-07 00:31:53 +03:00
2005-07-01 07:05:42 +03:00
2005-08-12 17:57:19 +03:00
2005-08-12 17:57:19 +03:00
2005-05-06 11:39:30 +03:00
2005-07-19 20:06:49 +04:00
2005-07-28 21:39:24 +03:00
2005-07-19 11:05:49 -07:00
2005-07-01 07:05:42 +03:00
2005-07-31 12:49:55 +03:00
2005-07-06 10:16:36 +02:00
2005-05-06 19:04:58 +05:00
2005-06-08 21:56:22 +05:00
2005-08-12 17:57:19 +03:00
2005-07-29 23:43:07 +03:00
2005-07-13 02:13:04 +02:00
2005-07-18 19:03:01 +03:00
2005-06-07 00:31:53 +03:00
2005-06-06 14:03:33 +03:00
2005-07-28 22:39:11 +03:00
2005-07-28 22:39:11 +03:00
2005-06-13 12:41:15 +02:00
2005-06-07 00:31:53 +03:00
2005-05-09 11:26:48 +02:00
2005-07-22 08:11:23 +02:00
2005-06-30 16:17:10 +04:00
2005-06-30 16:17:10 +04:00
2005-04-07 19:24:14 +03:00
2005-06-01 21:56:30 -07:00
2005-07-31 22:56:24 +03:00
2005-07-28 22:39:11 +03:00
2005-08-01 17:08:38 -07:00
2005-07-29 21:00:28 -06:00
2005-06-05 16:20:22 +02:00
2005-05-27 12:03:37 +02:00
2005-08-01 15:43:40 -07:00
2005-07-28 22:39:11 +03:00
2005-06-05 16:20:22 +02:00
2005-05-27 12:03:37 +02:00
2005-06-30 18:07:06 +02:00
2005-06-30 18:07:06 +02:00
2005-08-12 17:57:19 +03:00
2005-07-13 15:08:13 +04:00
2005-05-19 15:50:44 -05:00
2005-05-18 19:00:21 +03:00
2005-08-12 17:57:19 +03:00
2005-07-05 13:36:36 +03:00
2005-06-07 00:31:53 +03:00
2005-05-26 21:01:55 +02:00
2005-08-12 17:57:19 +03:00
2005-07-19 14:13:56 +02:00
2005-07-23 07:55:07 +03:00
2005-07-31 12:49:55 +03:00
2005-08-12 17:57:19 +03:00
2005-06-05 19:38:52 +02:00
2005-05-26 12:09:14 +02:00
2005-05-20 16:34:59 -05:00
2005-08-12 17:57:19 +03:00
2005-07-01 07:05:42 +03:00
2005-07-01 07:05:42 +03:00
2005-07-05 11:38:05 +03:00
2005-04-01 15:04:50 +03:00
2005-07-01 07:05:42 +03:00
2005-08-12 17:57:19 +03:00
2005-08-12 17:57:19 +03:00
2005-08-12 17:57:19 +03:00
2005-08-12 17:57:19 +03:00
2005-06-05 19:38:52 +02:00
2005-05-19 15:20:10 +02:00
2005-08-12 17:57:19 +03:00
2005-06-22 14:08:28 +05:00
2005-05-26 12:09:14 +02:00
2005-08-12 17:57:19 +03:00
2005-08-12 17:57:19 +03:00
2005-07-29 16:11:49 +02:00
2005-06-17 22:14:44 +01:00
2005-07-19 00:55:37 +04:00
2005-03-16 04:32:47 +03:00
2005-08-12 17:57:19 +03:00
2005-07-20 20:02:36 +04:00
2005-08-12 17:57:19 +03:00
2005-06-07 00:31:53 +03:00
2005-06-06 16:54:15 +05:00
2005-07-28 17:09:54 +03:00
2005-05-06 11:39:30 +03:00
2005-07-31 12:56:02 +03:00
2005-07-28 22:39:11 +03:00
2005-06-30 17:33:23 +02:00
2005-07-01 07:05:42 +03:00
2005-07-06 16:49:04 -07:00
2005-08-12 17:57:19 +03:00
2005-07-31 12:56:02 +03:00
2005-07-01 07:05:42 +03:00
2005-08-12 17:57:19 +03:00
2005-04-20 20:38:57 +02:00
2005-04-20 20:38:57 +02:00
2005-02-25 16:53:22 +02:00
2005-06-16 12:12:47 +05:00
2005-08-12 17:57:19 +03:00
2005-08-12 17:57:19 +03:00
2005-07-31 12:49:55 +03:00
2005-07-31 12:49:55 +03:00
2005-07-31 12:49:55 +03:00
2005-06-01 16:35:09 +03:00
2005-07-28 17:09:54 +03:00