MXS-1775 Make general cleanup

Document and rearrrange so that things look nice and tidy.
This commit is contained in:
Johan Wikman
2018-05-25 13:56:25 +03:00
parent 76cfe7291d
commit 0783af88ed
11 changed files with 173 additions and 199 deletions

View File

@ -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 ||