Fix bug in printing switchover/failover module command info
The string constant passed to the register-function went invalid once CREATE_MODULE() completed, causing random characters to be printed.
This commit is contained in:
parent
ae949881a9
commit
a4f6176ced
@ -665,7 +665,7 @@ extern "C"
|
||||
MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{
|
||||
MXS_NOTICE("Initialise the MySQL Monitor module.");
|
||||
const char ARG_MONITOR_DESC[] = "MySQL Monitor name (from configuration file)";
|
||||
static const char ARG_MONITOR_DESC[] = "MySQL Monitor name (from configuration file)";
|
||||
static modulecmd_arg_type_t switchover_argv[] =
|
||||
{
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user