MDEV-26: Global transaction ID, intermediate commit.

Fix memory leak.
This commit is contained in:
unknown 2013-02-19 14:22:29 +01:00
parent bfec9c64b8
commit 7426a466dc

View File

@ -679,6 +679,7 @@ get_gtid_list_event(IO_CACHE *cache, Gtid_list_log_event **out_gtid_list)
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 */