summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2016-06-07 11:06:54 -0700
committerIgor Babaev <igor@askmonty.org>2016-06-07 11:06:54 -0700
commit096286c95f4c85b16c65a71779abd49c98c3ac28 (patch)
tree144db1edd90a3e1e3d8ed9dbe1d8ab1e16ea1215 /sql/sql_union.cc
parent0a6e6d705b0bb4fb92ee1e91d21d6661d6473297 (diff)
downloadmariadb-git-096286c95f4c85b16c65a71779abd49c98c3ac28.tar.gz
The method With_element::reset_for_exec was not called in non-debug
builds.
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r--sql/sql_union.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index 384cca70574..14c66f6546c 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -1349,10 +1349,10 @@ void st_select_lex_unit::reinit_exec_mechanism()
*/
field->fixed= 0;
}
- if (with_element && with_element->is_recursive)
- with_element->reset_for_exec();
}
#endif
+ if (with_element && with_element->is_recursive)
+ with_element->reset_for_exec();
}