MXS-2344 Add setting for enabling SSL for replication
If the monitor setting "replication_master_ssl" is set to on, any CHANGE MASTER TO-command will have MASTER_SSL=1. If set to off or unset, MASTER_SSL is left unchanged to match existing behaviour.
This commit is contained in:
@ -174,10 +174,11 @@ ServerOperation::ServerOperation(MariaDBServer* target, bool was_is_master, bool
|
||||
{
|
||||
}
|
||||
|
||||
GeneralOpData::GeneralOpData(const string& replication_user, const string& replication_password,
|
||||
json_t** error, maxbase::Duration time_remaining)
|
||||
GeneralOpData::GeneralOpData(const std::string& replication_user, const std::string& replication_password,
|
||||
bool replication_ssl, json_t** error, maxbase::Duration time_remaining)
|
||||
: replication_user(replication_user)
|
||||
, replication_password(replication_password)
|
||||
, replication_ssl(replication_ssl)
|
||||
, error_out(error)
|
||||
, time_remaining(time_remaining)
|
||||
{
|
||||
|
Reference in New Issue
Block a user