diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2017-03-13 11:04:46 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2017-03-13 11:04:46 +0100 |
commit | 4c31280c5bfdfc3a1fec177de563c61559efe9c0 (patch) | |
tree | fcc58f429a711e36df2bf47a29b8d90050d5bfe0 /sql/sql_select.cc | |
parent | 1e47dece126cfab481d81bda3eedf71c0e12119c (diff) | |
download | mariadb-git-10.3-MDEV-10141.tar.gz |
MDEV-10141 & MDEV-10140 : Postreview changes10.3-MDEV-10141
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 814cf20979e..0bd787de1cd 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -24694,7 +24694,7 @@ bool mysql_explain_union(THD *thd, SELECT_LEX_UNIT *unit, select_result *result) if (unit->union_needs_tmp_table() && unit->fake_select_lex) { unit->fake_select_lex->select_number= FAKE_SELECT_LEX_ID; // just for initialization - unit->fake_select_lex->type= "UNION RESULT"; + unit->fake_select_lex->type= unit_operation_text[unit->common_op()]; unit->fake_select_lex->options|= SELECT_DESCRIBE; } if (!(res= unit->prepare(thd, result, SELECT_NO_UNLOCK | SELECT_DESCRIBE))) |