diff options
author | Igor Babaev <igor@askmonty.org> | 2013-12-11 10:13:08 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2013-12-11 10:13:08 -0800 |
commit | fde2777b2722a2b81f995c74e74cc3e47c0f8788 (patch) | |
tree | 8c6891759fd8d87022537f3a2e56df3ebe0422db /sql/sql_union.cc | |
parent | d5262a63fcbb13e3c2b1734ada36f3db8c6cb0c3 (diff) | |
download | mariadb-git-fde2777b2722a2b81f995c74e74cc3e47c0f8788.tar.gz |
Another attempt to fix the memory leak of mdev-5400.
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r-- | sql/sql_union.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc index 5c4a9a8db5f..f82657a837c 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -628,6 +628,7 @@ bool st_select_lex_unit::exec() { ha_rows records_at_start= 0; thd->lex->current_select= sl; + fake_select_lex->uncacheable|= sl->uncacheable; { set_limit(sl); |