MXS-1848 Add initMonitor() and finishMonitor() functions.

Not called and implementations are dummies.
This commit is contained in:
Johan Wikman
2018-05-04 13:49:18 +03:00
parent ec8b9c773a
commit 02cd7b9275
7 changed files with 126 additions and 1 deletions

View File

@ -904,6 +904,18 @@ bool MariaDBMonitor::check_sql_files()
return rval;
}
static MXS_SPECIFIC_MONITOR* initMonitor(MXS_MONITOR *monitor,
const MXS_CONFIG_PARAMETER* params)
{
ss_dassert(!true);
return NULL;
}
static void finishMonitor(MXS_SPECIFIC_MONITOR* monitor)
{
ss_dassert(!true);
}
/**
* Start the monitor instance and return the instance data. This function creates a thread to
* execute the monitoring. Use stopMonitor() to stop the thread.
@ -1121,6 +1133,8 @@ MXS_MODULE* MXS_CREATE_MODULE()
static MXS_MONITOR_OBJECT MyObject =
{
initMonitor,
finishMonitor,
startMonitor,
stopMonitor,
diagnostics,