mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Implemented condition pushdown into derived tables / views
with window functions (mdev-10855). This patch just modified the function pushdown_cond_for_derived() to support this feature. Some test cases demonstrating this optimization were added to derived_cond_pushdown.test.
This commit is contained in:
@ -1409,6 +1409,11 @@ public:
|
||||
bool set_group_rpa;
|
||||
/** Exec time only: TRUE <=> current group has been sent */
|
||||
bool group_sent;
|
||||
/**
|
||||
TRUE if the query contains an aggregate function but has no GROUP
|
||||
BY clause.
|
||||
*/
|
||||
bool implicit_grouping;
|
||||
|
||||
bool is_for_splittable_grouping_derived;
|
||||
bool with_two_phase_optimization;
|
||||
@ -1701,11 +1706,6 @@ private:
|
||||
*/
|
||||
void optimize_distinct();
|
||||
|
||||
/**
|
||||
TRUE if the query contains an aggregate function but has no GROUP
|
||||
BY clause.
|
||||
*/
|
||||
bool implicit_grouping;
|
||||
void cleanup_item_list(List<Item> &items) const;
|
||||
bool make_aggr_tables_info();
|
||||
|
||||
|
Reference in New Issue
Block a user