Merge branch '2.3' into develop

This commit is contained in:
Esa Korhonen
2019-01-08 13:17:27 +02:00
2 changed files with 8 additions and 2 deletions

View File

@ -227,6 +227,13 @@ RWSplit* RWSplit::create(SERVICE* service, MXS_CONFIG_PARAMETER* params)
return NULL;
}
if (config.master_reconnection && config.disable_sescmd_history)
{
MXS_ERROR("Both 'master_reconnection' and 'disable_sescmd_history' are enabled: "
"Master reconnection cannot be done without session command history.");
return NULL;
}
return new(std::nothrow) RWSplit(service, config);
}