Revert "Turn MariaDB Monitor struct to class with public fields"

This reverts commit cb6f70119d9857b277306e9af5881fe29c574a32.
This commit is contained in:
Johan Wikman
2018-02-24 15:37:50 +02:00
parent 13661ab4a6
commit 236e906d88
3 changed files with 65 additions and 60 deletions

View File

@ -1773,7 +1773,7 @@ void mon_process_state_changes(MXS_MONITOR *monitor, const char *script, uint64_
master_up = true;
}
if (script && *script && (events & event))
if (script && (events & event))
{
monitor_launch_script(monitor, ptr, script, monitor->script_timeout);
}