1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-18701: Wrong result from query that uses INTERSECT after UNION ALL

Recalculate distinct pointer if we cut chain of SELECTs
This commit is contained in:
Oleksandr Byelkin
2019-03-11 17:10:20 +01:00
parent 58f3ff7175
commit 6d68a3464e
5 changed files with 69 additions and 13 deletions

View File

@ -995,7 +995,7 @@ public:
unit_common_op common_op();
void reset_distinct();
void fix_distinct(st_select_lex_unit *new_unit);
void fix_distinct();
void register_select_chain(SELECT_LEX *first_sel);