diff options
author | jbj <devnull@localhost> | 2001-09-15 13:49:11 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-09-15 13:49:11 +0000 |
commit | da9b21485cd9400883de08b2754bd103f25144da (patch) | |
tree | 0b547ef38f19e147958a6fc4a9fc283727b81d97 /db | |
parent | 2b23209fceb4377bd4c4b5230c580122ffa81b41 (diff) | |
download | librpm-tizen-da9b21485cd9400883de08b2754bd103f25144da.tar.gz librpm-tizen-da9b21485cd9400883de08b2754bd103f25144da.tar.bz2 librpm-tizen-da9b21485cd9400883de08b2754bd103f25144da.zip |
Sync with rpm-4_0 branch.
CVS patchset: 5048
CVS date: 2001/09/15 13:49:11
Diffstat (limited to 'db')
-rw-r--r-- | db/hash/hash_verify.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/db/hash/hash_verify.c b/db/hash/hash_verify.c index d3fd96b90..2472149cd 100644 --- a/db/hash/hash_verify.c +++ b/db/hash/hash_verify.c @@ -32,13 +32,6 @@ static int __ham_vrfy_item __P((DB *, VRFY_DBINFO *, db_pgno_t, PAGE *, u_int32_t, u_int32_t)); /* - * XXX Doing a db->del followed by a db->put for the same record - * causes the nelem/page count to go awry, causing db->verify failure. - * Turn off the message for now. - */ -int db_hash_nelem_debug = 0; - -/* * __ham_vrfy_meta -- * Verify the hash-specific part of a metadata page. * @@ -146,12 +139,10 @@ __ham_vrfy_meta(dbp, vdp, m, pgno, flags) * which could make nelem go "negative". */ if (m->nelem > 0x80000000) { - if (db_hash_nelem_debug) { EPRINT((dbp->dbenv, "Suspiciously high nelem of %lu on page %lu", (u_long)m->nelem, (u_long)pgno)); isbad = 1; - } pip->h_nelem = 0; } else pip->h_nelem = m->nelem; |