[Commits] Rev 3456: MDEV-26: Global transaction ID, intermediate commit. in http://bazaar.launchpad.net/~maria-captains/maria/10.0

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Tue Feb 19 15:22:29 EET 2013


At http://bazaar.launchpad.net/~maria-captains/maria/10.0

------------------------------------------------------------
revno: 3456
revision-id: knielsen at knielsen-hq.org-20130219132229-oy70ythytiqqcsnm
parent: knielsen at knielsen-hq.org-20130219104529-kb26z8pobbq1k3wj
committer: knielsen at knielsen-hq.org
branch nick: work-10.0-mdev26
timestamp: Tue 2013-02-19 14:22:29 +0100
message:
  MDEV-26: Global transaction ID, intermediate commit.
  
  Fix memory leak.
=== modified file 'sql/sql_repl.cc'
--- a/sql/sql_repl.cc	2013-02-19 10:45:29 +0000
+++ b/sql/sql_repl.cc	2013-02-19 13:22:29 +0000
@@ -679,6 +679,7 @@ get_gtid_list_event(IO_CACHE *cache, Gti
     typ= ev->get_type_code();
     if (typ == GTID_LIST_EVENT)
       break;                                    /* Done, found it */
+    delete ev;
     if (typ == ROTATE_EVENT || typ == STOP_EVENT ||
         typ == FORMAT_DESCRIPTION_EVENT)
       continue;                                 /* Continue looking */



More information about the commits mailing list