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:
@ -859,7 +859,8 @@ int len, actual_len, col_len, seqno, ncols, i;
|
||||
|
||||
*ptr++ = 0;
|
||||
|
||||
sprintf(column, "%s", router->uuid);
|
||||
sprintf(column, "%s", router->master_uuid ?
|
||||
router->master_uuid : router->uuid);
|
||||
col_len = strlen(column);
|
||||
*ptr++ = col_len; // Length of result string
|
||||
strncpy((char *)ptr, column, col_len); // Result string
|
||||
|
Reference in New Issue
Block a user