MXS-154: make gtid and file MARIADB_GTID_INFO fields static

gtid and file MARIADB_GTID_INFO fields are now a fixed size
This commit is contained in:
MassimilianoPinto
2017-11-27 17:46:26 +01:00
parent 23cd294dad
commit ba22e3b1db
4 changed files with 26 additions and 37 deletions

View File

@ -335,8 +335,8 @@ typedef struct mariadb_gtid_elems
/** MariaDB GTID info */
typedef struct mariadb_gtid_info
{
char *gtid; /** MariaDB 10.x GTID, string value */
char *file; /** The binlog file */
char gtid[GTID_MAX_LEN + 1]; /** MariaDB 10.x GTID, string value */
char file[BINLOG_FNAMELEN + 1]; /** The binlog file */
uint64_t start; /** The BEGIN pos: i.e the GTID event */
uint64_t end; /** The next_pos in COMMIT event */
MARIADB_GTID_ELEMS gtid_elms; /** MariaDB 10.x GTID components */