MDEV-26: Global transaction ID, intermediate commit.
Fix memory leak.
This commit is contained in:
parent
bfec9c64b8
commit
7426a466dc
@ -679,6 +679,7 @@ get_gtid_list_event(IO_CACHE *cache, Gtid_list_log_event **out_gtid_list)
|
|||||||
typ= ev->get_type_code();
|
typ= ev->get_type_code();
|
||||||
if (typ == GTID_LIST_EVENT)
|
if (typ == GTID_LIST_EVENT)
|
||||||
break; /* Done, found it */
|
break; /* Done, found it */
|
||||||
|
delete ev;
|
||||||
if (typ == ROTATE_EVENT || typ == STOP_EVENT ||
|
if (typ == ROTATE_EVENT || typ == STOP_EVENT ||
|
||||||
typ == FORMAT_DESCRIPTION_EVENT)
|
typ == FORMAT_DESCRIPTION_EVENT)
|
||||||
continue; /* Continue looking */
|
continue; /* Continue looking */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user