diff options
author | unknown <bell@sanja.is.com.ua> | 2003-04-23 11:20:19 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-04-23 11:20:19 +0300 |
commit | 711eb800ad610fcdff2087b41a9aa38fe8d6bae9 (patch) | |
tree | f990ceb0b0676587ce26deb5505e45e1cfcf7e72 /sql/sql_lex.h | |
parent | b648068856f8bc2a636fc3ce0a49a7128b6bd6c6 (diff) | |
parent | 0c1af74d8aeafa09e2f216b0758204828ab47f9e (diff) | |
download | mariadb-git-711eb800ad610fcdff2087b41a9aa38fe8d6bae9.tar.gz |
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-order-4.1
mysql-test/r/subselect.result:
Auto merged
mysql-test/t/subselect.test:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 9fb0f8cfdf5..75ec2f2d3fb 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -230,6 +230,7 @@ public: virtual st_select_lex_unit* master_unit()= 0; virtual st_select_lex* outer_select()= 0; + virtual st_select_lex_node* return_after_parsing()= 0; virtual bool set_braces(bool value); virtual bool inc_in_sum_expr(); @@ -284,6 +285,8 @@ public: global parameters for union */ st_select_lex_node *global_parameters; + //node on wich we should return current_select pointer after parsing subquery + st_select_lex_node *return_to; /* LIMIT clause runtime counters */ ha_rows select_limit_cnt, offset_limit_cnt; /* not NULL if union used in subselect, point to subselect item */ @@ -304,6 +307,7 @@ public: (st_select_lex*) slave->next : (st_select_lex*) slave; } st_select_lex_unit* next_unit() { return (st_select_lex_unit*) next; } + st_select_lex_node* return_after_parsing() { return return_to; } void exclude_level(); /* UNION methods */ @@ -366,6 +370,10 @@ public: { return &link_next; } + st_select_lex_node* return_after_parsing() + { + return master_unit()->return_after_parsing(); + } bool set_braces(bool value); bool inc_in_sum_expr(); |