Hi all,
I`m using zabbix with Oracle DB 10g.
The table timeperiods has column named "date", which is Oracle reserved word and it is causing troubles in timer.c when starting zabbix server.
timer.c line 303 - 310:
the tp.date has to be changed to tp.\"date\" or better not to use reserved words for column naming.
I`m using zabbix with Oracle DB 10g.
The table timeperiods has column named "date", which is Oracle reserved word and it is causing troubles in timer.c when starting zabbix server.
timer.c line 303 - 310:
Code:
result = DBselect(
"select m.maintenanceid,m.maintenance_type,m.active_since,tp.timeperiod_type,tp.every,"
"tp.month,tp.dayofweek,tp.day,tp.start_time,tp.period,tp.date "
"from maintenances m,maintenances_windows mw,timeperiods tp "
"where m.maintenanceid=mw.maintenanceid and "
"mw.timeperiodid=tp.timeperiodid and "
"%d between m.active_since and m.active_till",
now);
Comment