Always reply to SET @mariadb_slave_capability
Always reply to SET @mariadb_slave_capability, with saved master reply for mariadb10 master or with OK otherwise
This commit is contained in:
@ -368,9 +368,11 @@ int query_len;
|
||||
}
|
||||
else if (strcasecmp(word, "@mariadb_slave_capability") == 0)
|
||||
{
|
||||
free(query_text);
|
||||
if (router->mariadb10_compat) {
|
||||
free(query_text);
|
||||
return blr_slave_replay(router, slave, router->saved_master.mariadb10);
|
||||
} else {
|
||||
return blr_slave_send_ok(router, slave);
|
||||
}
|
||||
}
|
||||
else if (strcasecmp(word, "@master_binlog_checksum") == 0)
|
||||
|
Reference in New Issue
Block a user