In "include/functions.c" line 1508 the following line has an error:
snprintf(sql,sizeof(sql)-1,"insert into escalation_log (triggerid,alarmid,escalationid,level,adminlevel,n extcheck,nextcheck) values (%d,%d,%d,%d,%d,%d,%d)", trigger->triggerid, alarmid, escalationid, 0, 0, 0, 0);
It has nextcheck,nextcheck. Below is what it should be (I assume)
snprintf(sql,sizeof(sql)-1,"insert into escalation_log (triggerid,alarmid,escalationid,level,adminlevel,n extcheck) values (%d,%d,%d,%d,%d,%d)", trigger->triggerid, alarmid, escalationid, 0, 0, 0);
Also, I don't believe the mysql upgrade patch includes the creation of the escalation_log. I haven't checked previous versions to see if it was there, but since I went from alpha10 to alpha11 off cvs and it wasn't there...
snprintf(sql,sizeof(sql)-1,"insert into escalation_log (triggerid,alarmid,escalationid,level,adminlevel,n extcheck,nextcheck) values (%d,%d,%d,%d,%d,%d,%d)", trigger->triggerid, alarmid, escalationid, 0, 0, 0, 0);
It has nextcheck,nextcheck. Below is what it should be (I assume)
snprintf(sql,sizeof(sql)-1,"insert into escalation_log (triggerid,alarmid,escalationid,level,adminlevel,n extcheck) values (%d,%d,%d,%d,%d,%d)", trigger->triggerid, alarmid, escalationid, 0, 0, 0);
Also, I don't believe the mysql upgrade patch includes the creation of the escalation_log. I haven't checked previous versions to see if it was there, but since I went from alpha10 to alpha11 off cvs and it wasn't there...
Comment