1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-8646: Re-engineer the code for post-join operations

Make query pushdown work in the post-refactored code.
This fixes sequence.group_by test.
This commit is contained in:
Sergei Petrunia
2016-03-15 16:03:51 +03:00
parent 93f2371020
commit 21a0291c1d
2 changed files with 91 additions and 28 deletions

View File

@ -1090,12 +1090,6 @@ public:
uint top_join_tab_count;
uint aggr_tables; ///< Number of post-join tmp tables
uint send_group_parts;
/*
This counts how many times do_select() was invoked for this JOIN.
It's used to restrict Pushdown_query::execute() only to the first
do_select() invocation.
*/
uint do_select_call_count;
/*
True if the query has GROUP BY.
(that is, if group_by != NULL. when DISTINCT is converted into GROUP BY, it
@ -1463,8 +1457,6 @@ public:
positions= best_positions= 0;
pushdown_query= 0;
original_join_tab= 0;
do_select_call_count= 0;
explain= NULL;
all_fields= fields_arg;