diff options
author | Igor Babaev <igor@askmonty.org> | 2017-06-22 00:41:44 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2017-06-22 22:06:03 -0700 |
commit | 9f3622191df074d9f4e512320effe86f06b250fb (patch) | |
tree | 16aadc76e982cb17349df79a381af23fec27b2f8 /sql/sql_lex.h | |
parent | a8131e71f9504a7399bc9a7f312b14ed6700d099 (diff) | |
download | mariadb-git-9f3622191df074d9f4e512320effe86f06b250fb.tar.gz |
Fixed the bug mdev-12845.
This patch fills in a serious flaw in the
code that supports condition pushdown into
materialized views / derived tables.
If a predicate happened to contain a reference
to a mergeable view / derived table and it does
not depended directly on the target materialized
view / derived table then the predicate was not
considered as a subject to pusdown to this view
/ derived table.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 0c55ffc5892..a1ef42861b4 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -1139,7 +1139,7 @@ public: bool check_subqueries_with_recursive_references(); void collect_grouping_fields(THD *thd); void check_cond_extraction_for_grouping_fields(Item *cond, - Item_processor processor); + TABLE_LIST *derived); Item *build_cond_for_grouping_fields(THD *thd, Item *cond, bool no_to_clones); |