summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-01-11 18:00:31 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-01-11 18:00:31 +0200
commitcca611d1c083286396e34d8fc242bbeb90f01d2a (patch)
tree6905df14f4617bcaac9b0ea8a30b8017e201462f /sql/sql_union.cc
parent773c3ceb573ea5ae8506237d3648412251ce02e7 (diff)
parentbf7719111fff5167e160abf869c03a81a3a39592 (diff)
downloadmariadb-git-cca611d1c083286396e34d8fc242bbeb90f01d2a.tar.gz
Merge 10.2 into bb-10.2-ext
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r--sql/sql_union.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index 3903f3e8d9e..47286f1df14 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -1715,6 +1715,7 @@ bool st_select_lex_unit::exec_recursive()
sq;
sq= sq->next_with_rec_ref)
{
+ sq->reset();
sq->engine->force_reexecution();
}