summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2018-06-26 18:20:15 -0700
committerIgor Babaev <igor@askmonty.org>2018-06-26 18:20:15 -0700
commitb792aa5cd9e816dc3a67ba3105c957017eecd548 (patch)
tree48c827ba61cddeec60eb4ca8702bd922326fc25f
parentd38bc34095cba6ae841efc86894368d4394cb198 (diff)
downloadmariadb-git-bb-10.4-MDEV-11953.tar.gz
Post-merge fix: fixed a failure of cte_recursive.test.bb-10.4-MDEV-11953
-rw-r--r--sql/sql_lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 294d503f6e0..9ae9abdf8de 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -1485,6 +1485,7 @@ public:
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);