mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -1413,7 +1413,7 @@ public:
|
||||
having_value != Item::COND_FALSE);
|
||||
}
|
||||
bool empty_result() { return (zero_result_cause && !implicit_grouping); }
|
||||
bool change_result(select_result *result);
|
||||
bool change_result(select_result *new_result, select_result *old_result);
|
||||
bool is_top_level_join() const
|
||||
{
|
||||
return (unit == &thd->lex->unit && (unit->fake_select_lex == 0 ||
|
||||
|
Reference in New Issue
Block a user