MXS-1848 Change monitorCamelCase to monitor_snake_case

This commit is contained in:
Johan Wikman
2018-05-05 16:21:50 +03:00
parent 83f3d6d71d
commit 510eb7ec7c
10 changed files with 87 additions and 87 deletions

View File

@ -691,7 +691,7 @@ static struct uri_table
{ "/services", serviceGetList },
{ "/listeners", serviceGetListenerList },
{ "/modules", moduleGetList },
{ "/monitors", monitorGetList },
{ "/monitors", monitor_get_list },
{ "/sessions", maxinfoSessionsAll },
{ "/clients", maxinfoClientSessions },
{ "/servers", serverGetList },

View File

@ -238,7 +238,7 @@ exec_show_monitors(DCB *dcb, MAXINFO_TREE *tree)
{
RESULTSET *set;
if ((set = monitorGetList()) == NULL)
if ((set = monitor_get_list()) == NULL)
{
return;
}
@ -563,7 +563,7 @@ void exec_shutdown_monitor(DCB *dcb, MAXINFO_TREE *tree)
MXS_MONITOR* monitor = monitor_find(tree->value);
if (monitor)
{
monitorStop(monitor);
monitor_stop(monitor);
maxinfo_send_ok(dcb);
}
else
@ -673,7 +673,7 @@ void exec_restart_monitor(DCB *dcb, MAXINFO_TREE *tree)
MXS_MONITOR* monitor = monitor_find(tree->value);
if (monitor)
{
monitorStart(monitor, monitor->parameters);
monitor_start(monitor, monitor->parameters);
maxinfo_send_ok(dcb);
}
else