MXS-1775 Make general cleanup
Document and rearrrange so that things look nice and tidy.
This commit is contained in:
@ -40,15 +40,6 @@ GRMon* GRMon::create(MXS_MONITOR* monitor)
|
||||
return new GRMon(monitor);
|
||||
}
|
||||
|
||||
bool GRMon::has_sufficient_permissions() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void GRMon::configure(const MXS_CONFIG_PARAMETER* params)
|
||||
{
|
||||
}
|
||||
|
||||
void GRMon::diagnostics(DCB* dcb) const
|
||||
{
|
||||
}
|
||||
@ -58,6 +49,15 @@ json_t* GRMon::diagnostics_json() const
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void GRMon::configure(const MXS_CONFIG_PARAMETER* params)
|
||||
{
|
||||
}
|
||||
|
||||
bool GRMon::has_sufficient_permissions() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
static inline bool is_false(const char* value)
|
||||
{
|
||||
return strcasecmp(value, "0") == 0 ||
|
||||
|
||||
Reference in New Issue
Block a user