List:Commits« Previous MessageNext Message »
From:Alexander Nozdrin Date:December 22 2010 12:46pm
Subject:bzr commit into mysql-trunk-bugfixing branch (alexander.nozdrin:3465)
Bug#59022
View as plain text  
#At file:///home/alik/MySQL/bzr/00.build/mysql-trunk-bugfixing/ based on revid:tor.didriksen@stripped

 3465 Alexander Nozdrin	2010-12-22
      A patch for Bug#59022 (Valgrind warning in write_delayed() after InnoDB merge).
      
      Free allocated bitmap.

    modified:
      sql/sql_insert.cc
=== modified file 'sql/sql_insert.cc'
--- a/sql/sql_insert.cc	2010-11-29 16:27:58 +0000
+++ b/sql/sql_insert.cc	2010-12-22 12:46:55 +0000
@@ -1843,11 +1843,14 @@ public:
     : record(0), dup(dup_arg), ignore(ignore_arg), log_query(log_query_arg),
       binlog_rows_query_log_events(FALSE),
       forced_insert_id(0), query(query_arg), time_zone(0)
-    {}
+    {
+      write_set.bitmap= NULL;
+    }
   ~delayed_row()
   {
     my_free(query.str);
     my_free(record);
+    my_free(write_set.bitmap);
   }
 };
 


Attachment: [text/bzr-bundle] bzr/alexander.nozdrin@oracle.com-20101222124655-rho3rlrkdbfz3fnv.bundle
Thread
bzr commit into mysql-trunk-bugfixing branch (alexander.nozdrin:3465)Bug#59022Alexander Nozdrin22 Dec
  • Re: bzr commit into mysql-trunk-bugfixing branch(alexander.nozdrin:3465) Bug#59022Dmitry Lenev22 Dec