mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
cleanup st_select_lex_unit::explainable
This commit is contained in:
@@ -5225,10 +5225,8 @@ int st_select_lex_unit::save_union_explain_part2(Explain_query *output)
|
||||
for (SELECT_LEX_UNIT *unit= fake_select_lex->first_inner_unit();
|
||||
unit; unit= unit->next_unit())
|
||||
{
|
||||
if (!(unit->item && unit->item->eliminated))
|
||||
{
|
||||
if (unit->explainable())
|
||||
eu->add_child(unit->first_select()->select_number);
|
||||
}
|
||||
}
|
||||
fake_select_lex->join->explain= &eu->fake_select_lex_explain;
|
||||
}
|
||||
|
Reference in New Issue
Block a user