summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-24 10:48:37 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-24 10:48:37 +0000
commit5a52eda5e955812145bfb53aaebf1d88e1e19d3d (patch)
tree47e6ab4ac9e277b437ce7abf334b644da817295e /src
parentd875700aaf211fbdc5b10d87c4249157c9ae8400 (diff)
downloadzabbix-5a52eda5e955812145bfb53aaebf1d88e1e19d3d.tar.gz
zabbix-5a52eda5e955812145bfb53aaebf1d88e1e19d3d.tar.xz
zabbix-5a52eda5e955812145bfb53aaebf1d88e1e19d3d.zip
- fixed delta value calculation for UINT64 (thanks to Farzad FARID)
git-svn-id: svn://svn.zabbix.com/trunk@4169 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src')
-rw-r--r--src/zabbix_server/evalfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zabbix_server/evalfunc.c b/src/zabbix_server/evalfunc.c
index d5b9bce4..29eef1be 100644
--- a/src/zabbix_server/evalfunc.c
+++ b/src/zabbix_server/evalfunc.c
@@ -757,7 +757,7 @@ static int evaluate_DELTA(char *value,DB_ITEM *item,int parameter, int flag)
if(flag == ZBX_FLAG_SEC)
{
- result = DBselect("select max(value)-min(value) from %s history where clock>%d and itemid=" ZBX_FS_UI64,
+ result = DBselect("select max(value)-min(value) from %s where clock>%d and itemid=" ZBX_FS_UI64,
table,
now-parameter,
item->itemid);