summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-09-14 19:28:29 +0300
committerbell@sanja.is.com.ua <>2004-09-14 19:28:29 +0300
commitf797298fc564c70accf5b227fcfe72f12869762b (patch)
tree44ca229eb83d0543674b391c46f4d3a77539bfb7 /sql/sql_lex.h
parent31379fbebe149392550d3d3e2387785d55a230d5 (diff)
downloadmariadb-git-f797298fc564c70accf5b227fcfe72f12869762b.tar.gz
fixed merged view fields names (BUG#5147)
support of merged VIEW over several tables added (WL#1809)
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index d43b1f81f3d..a32b8465a88 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -432,6 +432,7 @@ public:
List<TABLE_LIST> top_join_list; /* join list of the top level */
List<TABLE_LIST> *join_list; /* list for the currently parsed join */
TABLE_LIST *embedding; /* table embedding to the above list */
+ TABLE_LIST *leaf_tables; /* list of leaves in join table tree */
const char *type; /* type of select for EXPLAIN */
SQL_LIST order_list; /* ORDER clause */
@@ -650,6 +651,8 @@ typedef struct st_lex
*/
TABLE_LIST **query_tables_last;
TABLE_LIST *proc_table; /* refer to mysql.proc if it was opened by VIEW */
+ /* store original leaf_tables for INSERT SELECT and PS/SP */
+ TABLE_LIST *leaf_tables_insert;
List<key_part_spec> col_list;
List<key_part_spec> ref_list;