diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2019-03-11 17:10:20 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2019-03-11 17:41:00 +0100 |
commit | 6d68a3464e9a93baecc277a2c270cad28fbf50bd (patch) | |
tree | a6e6d4472b48a85360c0d9dd14be7b0f8d356f91 /sql/sql_lex.h | |
parent | 58f3ff71751eae2d697bb45a6cefd197547e0b33 (diff) | |
download | mariadb-git-6d68a3464e9a93baecc277a2c270cad28fbf50bd.tar.gz |
MDEV-18701: Wrong result from query that uses INTERSECT after UNION ALL
Recalculate distinct pointer if we cut chain of SELECTs
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 b78a010d4b7..61816bee803 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -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); |