diff options
author | unknown <gkodinov/kgeorge@rakia.gmz> | 2007-01-31 16:12:47 +0200 |
---|---|---|
committer | unknown <gkodinov/kgeorge@rakia.gmz> | 2007-01-31 16:12:47 +0200 |
commit | 41f862e19f1ae34e4d30e6f2ad30d9a9317ce0ca (patch) | |
tree | da321e2ef4b485b11d3bde30f5fffe2698e0468e /sql/sql_lex.h | |
parent | 21d915c0717107c5f6c17cc22ebfa1673cde06b4 (diff) | |
parent | fbc16a85c2e91385c8d4cce7ab32d092025c76ad (diff) | |
download | mariadb-git-41f862e19f1ae34e4d30e6f2ad30d9a9317ce0ca.tar.gz |
Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into rakia.gmz:/home/kgeorge/mysql/autopush/B25575-5.0-opt
sql/mysql_priv.h:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
sql/table.cc:
Auto merged
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index d9dbc80e9a7..ae2b0d30a9c 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -586,6 +586,20 @@ public: int cur_pos_in_select_list; List<udf_func> udf_list; /* udf function calls stack */ + /* + This is a copy of the original JOIN USING list that comes from + the parser. The parser : + 1. Sets the natural_join of the second TABLE_LIST in the join + and the st_select_lex::prev_join_using. + 2. Makes a parent TABLE_LIST and sets its is_natural_join/ + join_using_fields members. + 3. Uses the wrapper TABLE_LIST as a table in the upper level. + We cannot assign directly to join_using_fields in the parser because + at stage (1.) the parent TABLE_LIST is not constructed yet and + the assignment will override the JOIN USING fields of the lower level + joins on the right. + */ + List<String> *prev_join_using; void init_query(); void init_select(); |