hi Patryk,

On Wed, Nov 08, 2006 at 11:34:04AM +0100, Patryk Dawidziuk wrote:
> Package: zabbix-mysql-server
> Version: 1.1.3-1
> Severity: Important
> 
> as in topic, the following error may occur in unpatched version of
> zabbix. I've noticed zabbix 1.1.3-1 is unpatched and no bug report
> is filled against it yet. 
> Full explanation and a fix here:
> http://www.zabbix.com/forum/showthread.php?t=4315&highlight=triggers

the debian does contain a fix for this issue, are you sure this bug
is present in latest 1.1.3 packages in unstable?

 debian/patches/07_zabbix-delta.dpatch:
 #! /bin/sh /usr/share/dpatch/dpatch-run
 ## 99-unnamed.dpatch by  <[EMAIL PROTECTED]>
 ## Fix delta problem, see:
 http://www.zabbix.com/forum/showthread.php?t=4315
 
 @DPATCH@
 diff -ruN zabbix-1.1.3.orig/src/zabbix_server/functions.c
 zabbix-1.1.3/src/zabbix_server/functions.c
 --- zabbix-1.1.3.orig/src/zabbix_server/functions.c     2006-10-24
 14:11:18.237095056 +0600
 +++ zabbix-1.1.3/src/zabbix_server/functions.c  2006-10-24
 14:13:38.901710784 +0600
 @@ -678,7 +678,7 @@
         value_double    = 0;
  
         /* Required for nodata() */
 -       item->lastclock = now;
 +       /* item->lastclock = now; */
         
         if(value->type & AR_UINT64)
         {
 @@ -803,6 +803,8 @@
                 DBexecute(sql);
         }
  
 +       item->lastclock = now;
 +       
         return ret;
  }
  
bye,
    - michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to