summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorsergefp@mysql.com <>2006-11-01 00:54:49 +0300
committersergefp@mysql.com <>2006-11-01 00:54:49 +0300
commitd778401633ecf95029e19f0212bd7a3e865c018b (patch)
tree22b64fd9faf1fcc7f8c2a609864dd738be0ba251 /sql/sql_lex.h
parentf07e4b996eed1894040f4c4874348a36fa7b7d64 (diff)
parente59f19177e6a578339cbba8bfd23c1bde3cc6d5a (diff)
downloadmariadb-git-d778401633ecf95029e19f0212bd7a3e865c018b.tar.gz
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into mysql.com:/home/psergey/mysql-5.0-bug8804-r4
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index b23ccb4f3fc..1d6f344cb1c 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -470,7 +470,7 @@ public:
void set_thd(THD *thd_arg) { thd= thd_arg; }
friend void lex_start(THD *thd, uchar *buf, uint length);
- friend int subselect_union_engine::exec();
+ friend int subselect_union_engine::exec(bool);
List<Item> *get_unit_column_types();
};
@@ -562,6 +562,8 @@ public:
query processing end even if we use temporary table
*/
bool subquery_in_having;
+ /* TRUE <=> this SELECT is correlated w.r.t. some ancestor select */
+ bool is_correlated;
/*
This variable is required to ensure proper work of subqueries and
stored procedures. Generally, one should use the states of