Turn MariaDB Monitor struct to class with public fields
Allows using std::string for strings. Also, cleanup.
This commit is contained in:
@ -1773,7 +1773,7 @@ void mon_process_state_changes(MXS_MONITOR *monitor, const char *script, uint64_
|
||||
master_up = true;
|
||||
}
|
||||
|
||||
if (script && (events & event))
|
||||
if (script && *script && (events & event))
|
||||
{
|
||||
monitor_launch_script(monitor, ptr, script, monitor->script_timeout);
|
||||
}
|
||||
|
Reference in New Issue
Block a user