X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=isamb%2Fisamb.c;h=9ee359679b817392474a8ff6737359b4b362b3ff;hp=57ca28a1bdf81f924df046f703ce5a2c7eaf2576;hb=13bf0c380e98816595127291b64368dd9b8ca639;hpb=840cf9f959b42b3f4b107de8e125cbc8c9cbbcfa diff --git a/isamb/isamb.c b/isamb/isamb.c index 57ca28a..9ee3596 100644 --- a/isamb/isamb.c +++ b/isamb/isamb.c @@ -1,4 +1,4 @@ -/* $Id: isamb.c,v 1.56 2004-08-23 13:06:46 adam Exp $ +/* $Id: isamb.c,v 1.57 2004-09-03 14:59:49 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -1991,8 +1991,6 @@ again: void isamb_pp_pos( ISAMB_PP pp, double *current, double *total ) { /* return an estimate of the current position and of the total number of */ /* occureences in the isam tree, based on the current leaf */ - /* FIXME - Isam-B ought to know how many we have, so we could return */ - /* that directly */ struct ISAMB_block *p = pp->block[pp->level]; assert(total); assert(current); @@ -2000,7 +1998,6 @@ void isamb_pp_pos( ISAMB_PP pp, double *current, double *total ) *total = pp->block[0]->no_items; *current = (double) pp->returned_numbers; - /* use the precise number, since we have it! */ #if ISAMB_DEBUG logf(LOG_LOG, "isamb_pp_pos returning: cur= %0.1f tot=%0.1f rn=" ZINT_FORMAT, *current, *total, pp->returned_numbers);