}
set->recs[i].hdrNum = hdrNum.ui;
set->recs[i].tagNum = tagNum.ui;
- set->recs[i].fpNum = 0;
}
break;
case 1*sizeof(int32_t):
}
set->recs[i].hdrNum = hdrNum.ui;
set->recs[i].tagNum = 0;
- set->recs[i].fpNum = 0;
}
break;
}
}
/* LCL: segfault */
-static int rpmdbGrowIterator(rpmdbMatchIterator mi, int fpNum)
+static int rpmdbGrowIterator(rpmdbMatchIterator mi)
{
DBC * dbcursor;
DBT * key;
dbiIndexSet set;
int rc;
int xx;
- int i;
if (mi == NULL)
return 1;
set = NULL;
(void) dbt2set(dbi, data, &set);
- for (i = 0; i < set->count; i++)
- set->recs[i].fpNum = fpNum;
#ifdef SQLITE_HACK
xx = dbiCclose(dbi, dbcursor, 0);
{
mi->mi_key.data = (void *) keyp;
mi->mi_key.size = keylen ? keylen : strlen(keyp);
- return rpmdbGrowIterator(mi, 0);
+ return rpmdbGrowIterator(mi);
}
/*
struct _dbiIndexItem {
unsigned int hdrNum; /*!< header instance in db */
unsigned int tagNum; /*!< tag index in header */
- unsigned int fpNum; /*!< finger print index */
};
/** \ingroup dbi