MXS-1075: added blr_fetch_mariadb_gtid() routine
Added generic blr_fetch_mariadb_gtid() routine inst->binlog_name is now stored into MARIADB_GTID_INFO struct. (it was missing)
This commit is contained in:
@ -2734,6 +2734,7 @@ static void mariadb_gtid_info_free(MARIADB_GTID_INFO *in)
|
||||
if (in)
|
||||
{
|
||||
MXS_FREE(in->gtid);
|
||||
MXS_FREE(in->file);
|
||||
MXS_FREE(in);
|
||||
}
|
||||
}
|
||||
@ -2753,9 +2754,11 @@ static MARIADB_GTID_INFO *mariadb_gtid_info_dup(const MARIADB_GTID_INFO *in)
|
||||
{
|
||||
MXS_FREE(rval);
|
||||
MXS_FREE(gtid);
|
||||
MXS_FREE(file);
|
||||
return NULL;
|
||||
}
|
||||
rval->gtid = gtid;
|
||||
rval->file = file;
|
||||
rval->start = in-> start;
|
||||
rval->end = in->end;
|
||||
|
||||
|
Reference in New Issue
Block a user