mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-334: Backport of UNION ALL optimization from mysql-5.7.
Although the original code of mysql-5.7 was adjusted to the current MariaDB code the main ideas of the optimization were preserved.
This commit is contained in:
@@ -229,6 +229,9 @@ int Explain_union::print_explain(Explain_query *query,
|
||||
sel->print_explain(query, output, explain_flags, is_analyze);
|
||||
}
|
||||
|
||||
if (!using_tmp)
|
||||
return 0;
|
||||
|
||||
/* Print a line with "UNION RESULT" */
|
||||
List<Item> item_list;
|
||||
Item *item_null= new Item_null();
|
||||
|
Reference in New Issue
Block a user