[Commits] Rev 3735: Another attempt to fix the memory leak of mdev-5400. in file:///home/igor/maria/maria-5.3-bugs/

Igor Babaev igor at askmonty.org
Wed Dec 11 20:13:08 EET 2013


At file:///home/igor/maria/maria-5.3-bugs/

------------------------------------------------------------
revno: 3735
revision-id: igor at askmonty.org-20131211181308-k5nwfqsl8pfolwcc
parent: igor at askmonty.org-20131207155102-roym5zo4ax93io89
committer: Igor Babaev <igor at askmonty.org>
branch nick: maria-5.3-bugs
timestamp: Wed 2013-12-11 10:13:08 -0800
message:
  Another attempt to fix the memory leak of mdev-5400.
-------------- next part --------------
=== modified file 'sql/sql_select.cc'
--- a/sql/sql_select.cc	2013-12-07 15:51:02 +0000
+++ b/sql/sql_select.cc	2013-12-11 18:13:08 +0000
@@ -10533,6 +10533,7 @@
       {
 	tab->cleanup();
       }
+      table= 0;      
     }
     else
     {

=== modified file 'sql/sql_union.cc'
--- a/sql/sql_union.cc	2013-10-29 10:39:03 +0000
+++ b/sql/sql_union.cc	2013-12-11 18:13:08 +0000
@@ -628,6 +628,7 @@
     {
       ha_rows records_at_start= 0;
       thd->lex->current_select= sl;
+      fake_select_lex->uncacheable|= sl->uncacheable;
 
       {
         set_limit(sl);



More information about the commits mailing list