summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 615b583897b..8f629750198 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -957,6 +957,8 @@ public:
TABLE_LIST *end_nested_join(THD *thd);
TABLE_LIST *nest_last_join(THD *thd);
void add_joined_table(TABLE_LIST *table);
+ bool add_cross_joined_table(TABLE_LIST *left_op, TABLE_LIST *right_op,
+ bool straight_fl);
TABLE_LIST *convert_right_join();
List<Item>* get_item_list();
ulong get_table_join_options();
@@ -2745,9 +2747,9 @@ struct LEX: public Query_tables_list
return context_stack.push_front(context);
}
- void pop_context()
+ Name_resolution_context *pop_context()
{
- context_stack.pop();
+ return context_stack.pop();
}
bool copy_db_to(char **p_db, size_t *p_db_length) const;