diff options
author | bell@sanja.is.com.ua <> | 2004-11-11 21:18:10 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-11-11 21:18:10 +0200 |
commit | 0ef0b030a54e7e1f233cbd735f18f64af618d819 (patch) | |
tree | b838d2bae358ea54b828bff0e3dfb8a0faf1bc8e /sql/sql_lex.h | |
parent | aa6d99dd0a453762e81be251094f7538c974447c (diff) | |
parent | c8d5f8991d15aec8ccd0e5eee12d9b18796d5ad8 (diff) | |
download | mariadb-git-0ef0b030a54e7e1f233cbd735f18f64af618d819.tar.gz |
merge
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index c8b4faa47c2..7d72d8ec5e1 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -447,6 +447,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 */ @@ -669,6 +670,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; |