diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-08-29 13:27:30 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-08-29 13:27:30 +0000 |
| commit | 6f7349254398d8758d6b4affcdb4afe8b646e7ff (patch) | |
| tree | 10a50611dc38339c58cf54697bc8e64a6b98ea0c /src | |
| parent | e4174203a59dd81a861fdbcbeb52ae565c6718bf (diff) | |
- fixed SQL statement in SLA processing. Thanks to Aron Ujvari. (Alexei)
[svn merge -r4696:4699 svn://svn.zabbix.com/branches/1.4]
git-svn-id: svn://svn.zabbix.com/trunk@4700 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src')
| -rw-r--r-- | src/libs/zbxdbhigh/host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxdbhigh/host.c b/src/libs/zbxdbhigh/host.c index eef235a2..8b401749 100644 --- a/src/libs/zbxdbhigh/host.c +++ b/src/libs/zbxdbhigh/host.c @@ -278,7 +278,7 @@ static int DBget_service_status( if( 0 != triggerid ) { - result = DBselect("select priority from triggers where trigerid=" ZBX_FS_UI64 " and status=0 and value=%d", triggerid, TRIGGER_VALUE_TRUE); + result = DBselect("select priority from triggers where triggerid=" ZBX_FS_UI64 " and status=0 and value=%d", triggerid, TRIGGER_VALUE_TRUE); if( (row = DBfetch(result)) ) { status = atoi(row[0]); |
