1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fix for previous csets: let set_explain_type() produce correct types for "UNION RESULT" selects

This commit is contained in:
Sergey Petrunya
2011-08-26 16:04:30 +04:00
parent d3052e225a
commit f4dd6831f5
2 changed files with 2 additions and 2 deletions

View File

@@ -20503,7 +20503,7 @@ int JOIN::print_explain(select_result_sink *result, bool on_the_fly,
join->select_lex->master_unit()->derived->is_materialized_derived())
{
table_map used_tables=0;
join->select_lex->set_explain_type(); //psergey
join->select_lex->set_explain_type(); //psergey-todo: this adds SELECT_DESCRIBE to options! bad for on-the-fly
bool printing_materialize_nest= FALSE;
uint select_id= join->select_lex->select_number;