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

Fixed a flaw in the implementation of condition push-down

for materialized views and derived tables: there were no
push-down if the view was defined as union of selects
without aggregation. Added test cases with such unions.

Adjusted result files after the merge of the code for mdev-9197.
This commit is contained in:
Igor Babaev
2016-09-04 20:11:58 -07:00
parent 102fc62990
commit 3b40f78ede
13 changed files with 1034 additions and 23 deletions

View File

@ -485,6 +485,7 @@ EXPLAIN
"materialized": {
"query_block": {
"select_id": 2,
"having_condition": "(cnt > 0)",
"filesort": {
"sort_key": "t1.a",
"temporary_table": {