diff options
author | WayneXia <waynestxia@gmail.com> | 2019-08-24 21:42:35 +0800 |
---|---|---|
committer | WayneXia <waynestxia@gmail.com> | 2019-08-24 21:44:41 +0800 |
commit | a896bebfa6d00b0bb7685956196a7977d9273652 (patch) | |
tree | 18c28b7b30a09ac6266e06bf4daf12695a36e93a /sql/sql_tvc.cc | |
parent | afe969ba05faece41fdef1275e9b9c510081805b (diff) | |
download | mariadb-git-a896bebfa6d00b0bb7685956196a7977d9273652.tar.gz |
MDEV-18844 Implement EXCEPT ALL and INTERSECT ALL operations
Diffstat (limited to 'sql/sql_tvc.cc')
-rw-r--r-- | sql/sql_tvc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_tvc.cc b/sql/sql_tvc.cc index 9eefd0376a5..47f50ae3c08 100644 --- a/sql/sql_tvc.cc +++ b/sql/sql_tvc.cc @@ -751,6 +751,7 @@ st_select_lex *wrap_tvc_with_tail(THD *thd, st_select_lex *tvc_sl) { wrapper_sl->master_unit()->union_distinct= wrapper_sl; } + wrapper_sl->distinct= tvc_sl->distinct; thd->lex->current_select= wrapper_sl; return wrapper_sl; } |