diff options
author | bell@sanja.is.com.ua <> | 2004-05-06 20:40:21 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-05-06 20:40:21 +0300 |
commit | 3aae50e8c0915fcb72ba1a27aadb5fa06832fd0b (patch) | |
tree | 0daaf7c780326e902f4ac6b9107be15ccc5ae28a /sql/sql_lex.h | |
parent | ec33d794d8b44469218b7395e25ca263fc23dd6d (diff) | |
download | mariadb-git-3aae50e8c0915fcb72ba1a27aadb5fa06832fd0b.tar.gz |
EXPLAIN UNION using same routing which used for execution which allow return correct bug messages (Bug #3639)
EXPLAIN of hidden SELECT of UNION
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 50f13a0391c..fd6e9142275 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -336,6 +336,7 @@ public: st_select_lex *fake_select_lex; st_select_lex *union_distinct; /* pointer to the last UNION DISTINCT */ + bool describe; /* union exec() called for EXPLAIN */ void init_query(); bool create_total_list(THD *thd, st_lex *lex, TABLE_LIST **result); @@ -413,7 +414,7 @@ public: ulong table_join_options; uint in_sum_expr; - uint select_number; /* number of select (used for EXPLAIN) */ + int select_number; /* number of select (used for EXPLAIN) */ uint with_wild; /* item list contain '*' */ bool braces; /* SELECT ... UNION (SELECT ... ) <- this braces */ /* TRUE when having fix field called in processing of this SELECT */ |