MXS-173 Initial version of throttle filter

This commit is contained in:
Niclas Antti
2018-04-24 11:28:09 +03:00
parent 62a3dd664d
commit 02b6cd7004
12 changed files with 939 additions and 4 deletions

View File

@ -977,7 +977,7 @@ bool handle_manual_switchover(const MODULECMD_ARG* args, json_t** error_out)
bool rval = false;
if (config_get_global_options()->passive)
{
const char MSG[] = "Switchover requested but not performed, as MaxScale is in passive mode.";
const char* const MSG = "Switchover requested but not performed, as MaxScale is in passive mode.";
PRINT_MXS_JSON_ERROR(error_out, MSG);
}
else