X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Finvstat.c;h=ca1427d5a77254d8fbb4d0cbb789ff26d5b47aa2;hb=1cc0116831e49bf70538639a8fc9b08b9524c683;hp=a02a1a6aa18c7c8d1f541e7eb4ee456f45c9608b;hpb=a8b86c35a39ce9eb5279c46dd99ef7e91b83fb7b;p=idzebra-moved-to-github.git diff --git a/index/invstat.c b/index/invstat.c index a02a1a6..ca1427d 100644 --- a/index/invstat.c +++ b/index/invstat.c @@ -1,4 +1,4 @@ -/* $Id: invstat.c,v 1.38 2004-08-06 12:55:01 adam Exp $ +/* $Id: invstat.c,v 1.40 2004-09-09 10:08:05 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -114,15 +114,6 @@ static int inv_stat_handle (char *name, const char *info, int pos, stat_info->no_isam_entries[0] += occur; isams_pp_close (pp); } - if (stat_info->zh->reg->isam) - { - ISPT ispt; - - ispt = is_position (stat_info->zh->reg->isam, (int) isam_p); - occur = is_numkeys (ispt); - stat_info->no_isam_entries[is_type(isam_p)] += occur; - is_pt_free (ispt); - } if (stat_info->zh->reg->isamc) { ISAMC_PP pp; @@ -160,7 +151,7 @@ static int inv_stat_handle (char *name, const char *info, int pos, int size; int blocks; - pp = isamb_pp_open_x(stat_info->zh->reg->isamb, isam_p, &level); + pp = isamb_pp_open_x(stat_info->zh->reg->isamb, isam_p, &level, 0); while (isamb_pp_read(pp, &key)) {