summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-03-23 14:43:24 +0100
committerserg@serg.mylan <>2004-03-23 14:43:24 +0100
commit99886df867b34cb8310e02b6a833ee58045d3e96 (patch)
tree303d154fcdcdeb732e85c89c418f9b45836d801e /sql/sql_lex.h
parent6158c94b3275b496557d6525a0a8dcd6b4575a88 (diff)
downloadmariadb-git-99886df867b34cb8310e02b6a833ee58045d3e96.tar.gz
correct support for a mix of UNION/UNION ALL in the same query.
Bug#1428
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index ba8fe0d8792..b9d85a23011 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -335,7 +335,7 @@ public:
/* fake SELECT_LEX for union processing */
st_select_lex *fake_select_lex;
- uint union_option;
+ st_select_lex *union_distinct; /* pointer to the last UNION DISTINCT */
void init_query();
bool create_total_list(THD *thd, st_lex *lex, TABLE_LIST **result);