revision-id: b792aa5cd9e816dc3a67ba3105c957017eecd548 (mariadb-10.3.6-37-gb792aa5) parent(s): d38bc34095cba6ae841efc86894368d4394cb198 author: Igor Babaev committer: Igor Babaev timestamp: 2018-06-26 18:20:15 -0700 message: Post-merge fix: fixed a failure of cte_recursive.test. --- sql/sql_lex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 294d503..9ae9abd 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -1485,6 +1485,7 @@ class st_select_lex: public st_select_lex_node if (d && master_unit() && master_unit()->union_distinct != this) master_unit()->union_distinct= this; distinct= d; + with_all_modifier= !distinct; DBUG_VOID_RETURN; } bool set_nest_level(int new_nest_level);