diff options
author | bell@sanja.is.com.ua <> | 2002-11-04 22:12:45 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2002-11-04 22:12:45 +0200 |
commit | 45f098bf60deda10643bcaef7324581b607f9ae1 (patch) | |
tree | 12c9202ba6e7b1dca9c4741f7b30fad9fa4a7d40 /sql/sql_lex.h | |
parent | bb49de5ff532e1cb8acb9392288acebbdb8ab6b5 (diff) | |
download | mariadb-git-45f098bf60deda10643bcaef7324581b607f9ae1.tar.gz |
moved similar code to function
onversion with check
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index e005211e4a9..b40cbf08877 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -217,6 +217,7 @@ public: void include_global(st_select_lex_node **plink); void exclude(); + virtual st_select_lex* select_lex(); virtual bool add_item_to_list(Item *item); bool add_order_to_list(Item *item, bool asc); virtual bool add_group_to_list(Item *item, bool asc); @@ -238,7 +239,8 @@ public: thr_lock_type flags= TL_UNLOCK, List<String> *use_index= 0, List<String> *ignore_index= 0); - + + void mark_as_dependent(st_select_lex *last); private: void fast_exclude(); }; @@ -346,6 +348,8 @@ public: bool set_braces(bool value); bool inc_in_sum_expr(); uint get_in_sum_expr(); + + st_select_lex* select_lex(); bool add_item_to_list(Item *item); bool add_group_to_list(Item *item, bool asc); bool add_ftfunc_to_list(Item_func_match *func); |