MXS-1266: files are saved in GTID repo at creation time
Files are saved in GTID repo at creation time: this allows to show files without transactions via SHOW [FULL] BINARY LOGS The FULL keywords add domain_id and server id to the output as file prefix: 0/10122/mysql-bin.000080
This commit is contained in:
@ -98,6 +98,12 @@ MXS_BEGIN_DECLS
|
||||
|
||||
/* GTID slite3 database name */
|
||||
#define GTID_MAPS_DB "gtid_maps.db"
|
||||
|
||||
/**
|
||||
* Add GTID components domain and serverid as name prefix
|
||||
* in SHOW FULL BINARY LOGS
|
||||
*/
|
||||
#define BINLOG_FILE_EXTRA_INFO GTID_MAX_LEN
|
||||
/**
|
||||
* Supported Encryption algorithms
|
||||
*
|
||||
@ -585,6 +591,7 @@ typedef struct router_instance
|
||||
ROUTER_SLAVE *slaves; /*< Link list of all the slave connections */
|
||||
SPINLOCK lock; /*< Spinlock for the instance data */
|
||||
char *uuid; /*< UUID for the router to use w/master */
|
||||
int orig_masterid; /*< Server ID of the master, internally used */
|
||||
int masterid; /*< Set ID of the master, sent to slaves */
|
||||
int serverid; /*< ID for the router to use w/master */
|
||||
int initbinlog; /*< Initial binlog file number */
|
||||
|
Reference in New Issue
Block a user