X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Finvstat.c;h=83708e1224dd935c024226309cacc7384d3646b4;hb=d284fe71faaa02d3e066d7f1db7d884fe0f8b0ee;hp=ca1427d5a77254d8fbb4d0cbb789ff26d5b47aa2;hpb=726c42c6ae793b79a5351d2fce805d220d21321e;p=idzebra-moved-to-github.git diff --git a/index/invstat.c b/index/invstat.c index ca1427d..83708e1 100644 --- a/index/invstat.c +++ b/index/invstat.c @@ -1,4 +1,4 @@ -/* $Id: invstat.c,v 1.40 2004-09-09 10:08:05 heikki Exp $ +/* $Id: invstat.c,v 1.41 2004-09-15 08:13:51 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -97,18 +97,6 @@ static int inv_stat_handle (char *name, const char *info, int pos, while (isams_pp_read(pp, &key)) { occurx++; -#if IT_KEY_NEW -#else - stat_info->cksum = stat_info->cksum * 65509 + - key.sysno + 11 * key.seqno; - if (-1==firstsys) - { - firstseq=key.seqno; - firstsys=key.sysno; - } - lastsys=key.sysno; - lastseq=key.seqno; -#endif } assert (occurx == occur); stat_info->no_isam_entries[0] += occur; @@ -125,18 +113,6 @@ static int inv_stat_handle (char *name, const char *info, int pos, while (isc_pp_read(pp, &key)) { occurx++; -#if IT_KEY_NEW -#else - stat_info->cksum = stat_info->cksum * 65509 + - key.sysno + 11 * key.seqno; - if (-1==firstsys) - { - firstseq=key.seqno; - firstsys=key.sysno; - } - lastsys=key.sysno; - lastseq=key.seqno; -#endif } assert (occurx == occur); stat_info->no_isam_entries[isc_type(isam_p)] += occur; @@ -156,18 +132,6 @@ static int inv_stat_handle (char *name, const char *info, int pos, while (isamb_pp_read(pp, &key)) { occur++; -#if IT_KEY_NEW -#else - stat_info->cksum = stat_info->cksum * 65509 + - key.sysno + 11 * key.seqno; - if (-1==firstsys) - { - firstseq=key.seqno; - firstsys=key.sysno; - } - lastsys=key.sysno; - lastseq=key.seqno; -#endif } isamb_pp_close_x (pp, &size, &blocks); stat_info->isamb_blocks[cat] += blocks;