summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-11-24 21:10:52 +0200
committerunknown <bell@sanja.is.com.ua>2002-11-24 21:10:52 +0200
commit06e647472fada2a3b857121ecd947372a5322d77 (patch)
tree44682d84835ae5313d9289b2e733e4c83503334b /sql/sql_lex.h
parent83e25bbc3090982c31a064b1b2cd78b710c37207 (diff)
downloadmariadb-git-06e647472fada2a3b857121ecd947372a5322d77.tar.gz
Reference to field in outer subelect fixed
Fixed context in error mesages mysql-test/r/subselect.result: tests of references and error message mysql-test/t/subselect.test: tests of references and error message sql/item.cc: Fixed layout Resolving field names of outer select sql/item_subselect.cc: saving/restoring context for error messages sql/mysql_priv.h: changed function interface to allow resolving field names inside Item_ref::fix_fields sql/sql_base.cc: changed function interface to allow resolving field names inside Item_ref::fix_fields sql/sql_lex.h: allow access to thd field
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index dd41af4b250..53bd0c0489a 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -294,6 +294,7 @@ public:
int cleanup();
friend void mysql_init_query(THD *thd);
+ friend int subselect_union_engine::exec();
private:
bool create_total_list_n_last_return(THD *thd, st_lex *lex,
TABLE_LIST ***result);