diff options
author | unknown <bell@sanja.is.com.ua> | 2005-07-05 13:42:19 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2005-07-05 13:42:19 +0300 |
commit | 323652f4dc414de93b462647faaae211c1f2ff91 (patch) | |
tree | e236d8552f1e6fe83fe9a099d0488e2019341b91 /sql/sql_lex.h | |
parent | 0eb52d65843b58da8bbd70bcdc0ab30ea4999a30 (diff) | |
parent | 906235eea90cfb484f7e19271e7381d2cc7add0c (diff) | |
download | mariadb-git-323652f4dc414de93b462647faaae211c1f2ff91.tar.gz |
Merge
sql/sql_lex.cc:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_table.cc:
Auto merged
mysql-test/r/view.result:
SCCS merged
mysql-test/t/view.test:
SCCS merged
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 8fde37b0126..5183aa54aa1 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -371,7 +371,6 @@ typedef class st_select_lex_node SELECT_LEX_NODE; SELECT_LEX_UNIT - unit of selects (UNION, INTERSECT, ...) group SELECT_LEXs */ -struct st_lex; class THD; class select_result; class JOIN; @@ -607,7 +606,13 @@ public: order_list.first= 0; order_list.next= (byte**) &order_list.first; } - + /* + This method created for reiniting LEX in mysql_admin_table() and can be + used only if you are going remove all SELECT_LEX & units except belonger + to LEX (LEX::unit & LEX::select, for other purposes there are + SELECT_LEX_UNIT::exclude_level & SELECT_LEX_UNIT::exclude_tree + */ + void cut_subtree() { slave= 0; } bool test_limit(); friend void lex_start(THD *thd, uchar *buf, uint length); @@ -920,7 +925,7 @@ typedef struct st_lex { return ( query_tables_own_last ? *query_tables_own_last : 0); } - + void cleanup_after_one_table_open(); } LEX; struct st_lex_local: public st_lex |