dbconvert.c | dbconvert.c | |||
---|---|---|---|---|
skipping to change at line 150 | skipping to change at line 150 | |||
case DB_HASH: { | case DB_HASH: { | |||
DB_HASH_STAT *db_stat = dbiCur->dbi_stats; | DB_HASH_STAT *db_stat = dbiCur->dbi_stats; | |||
nkeys = db_stat->hash_nkeys; | nkeys = db_stat->hash_nkeys; | |||
} | } | |||
break; | break; | |||
case DB_QUEUE: { | case DB_QUEUE: { | |||
DB_QUEUE_STAT *db_stat = dbiCur->dbi_stats; | DB_QUEUE_STAT *db_stat = dbiCur->dbi_stats; | |||
nkeys = db_stat->qs_nkeys; | nkeys = db_stat->qs_nkeys; | |||
} | } | |||
break; | break; | |||
#if defined(DB_HEAP) | ||||
case DB_HEAP: /* XXX FIXME: db-5.2.28 */ | ||||
#endif | ||||
case DB_UNKNOWN: | case DB_UNKNOWN: | |||
default: | default: | |||
xx = -1; | xx = -1; | |||
break; | break; | |||
} | } | |||
if(!xx) { | if(!xx) { | |||
uint32_t i = 0; | uint32_t i = 0; | |||
int doswap = -1; | int doswap = -1; | |||
float pct = 0; | float pct = 0; | |||
skipping to change at line 224 | skipping to change at line 227 | |||
case RPMDBI_AVAILABLE: | case RPMDBI_AVAILABLE: | |||
case RPMDBI_ADDED: | case RPMDBI_ADDED: | |||
case RPMDBI_REMOVED: | case RPMDBI_REMOVED: | |||
#if defined(RPMDBI_DEPENDS) | #if defined(RPMDBI_DEPENDS) | |||
case RPMDBI_DEPENDS: | case RPMDBI_DEPENDS: | |||
#endif | #endif | |||
case RPMDBI_BTREE: | case RPMDBI_BTREE: | |||
case RPMDBI_HASH: | case RPMDBI_HASH: | |||
case RPMDBI_QUEUE: | case RPMDBI_QUEUE: | |||
case RPMDBI_RECNO: | case RPMDBI_RECNO: | |||
case RPMDBI_HEAP: | ||||
fprintf(stderr, "skipping %s:\t%d%%\n", (dbiTags->str != NULL ? dbiTags->str : tagName(dbiTags->tag)), | fprintf(stderr, "skipping %s:\t%d%%\n", (dbiTags->str != NULL ? dbiTags->str : tagName(dbiTags->tag)), | |||
(int)(100*((float)dbix/rdbNew->db_ndbi))); | (int)(100*((float)dbix/rdbNew->db_ndbi))); | |||
case RPMDBI_PACKAGES: | case RPMDBI_PACKAGES: | |||
case RPMDBI_SEQNO: | case RPMDBI_SEQNO: | |||
continue; | continue; | |||
break; | break; | |||
default: | default: | |||
fn = rpmGetPath(rdbNew->db_root, rdbNew->db_home, "/", | fn = rpmGetPath(rdbNew->db_root, rdbNew->db_home, "/", | |||
(dbiTags->str != NULL ? dbiTags->str : tagName(dbi Tags->tag)), | (dbiTags->str != NULL ? dbiTags->str : tagName(dbi Tags->tag)), | |||
NULL); | NULL); | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |