Add ability to extract values from the result set

Extract and action the @master_binlog_checksum value

Store master's uuid for use in show slave status

Support for MariaDB 5.5 masters
This commit is contained in:
Mark Riddoch
2015-02-04 15:59:28 +00:00
parent 77af6b19d2
commit 07536611d3
4 changed files with 107 additions and 22 deletions

View File

@ -250,6 +250,8 @@ typedef struct router_instance {
char *user; /*< User name to use with master */
char *password; /*< Password to use with master */
char *fileroot; /*< Root of binlog filename */
bool master_chksum;/*< Does the master provide checksums */
char *master_uuid; /*< UUID of the master */
DCB *master; /*< DCB for master connection */
DCB *client; /*< DCB for dummy client */
SESSION *session; /*< Fake session for master connection */