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:
Igor Babaev 2014-10-14 09:36:50 -07:00
commit 3c4bb0e872
31 changed files with 851 additions and 325 deletions

View file

@ -225,6 +225,7 @@ public:
const char *fake_select_type;
bool using_filesort;
bool using_tmp;
Table_access_tracker *get_fake_select_lex_tracker()
{