PDA

View Full Version : expression.c


cool_camel
19-02-2006, 12:30
Hi ,

in file src/zabbix_server/expression.c line 706

select distinct h.ip from triggers t, functions f,items i, hosts h where t.triggerid=%d and f.triggerid=t.triggerid and f.itemid=i.itemid and h.hostid=i.hostid and i.useip=1
may be should like this:
select distinct h.ip from triggers t, functions f,items i, hosts h where t.triggerid=%d and f.triggerid=t.triggerid and f.itemid=i.itemid and h.hostid=i.hostid and h.useip=1


Please advice me if i am wrong.

Regards

Alexei
19-02-2006, 17:44
Already fixed in CVS.