db3.c (db3close): removed dobule close code (rpm5.org, RH#138589)

This commit is contained in:
Alexey Tourbin 2008-08-11 09:25:46 +04:00
parent 37bfe52994
commit d141414717

View File

@ -843,15 +843,9 @@ static int db3close(/*@only@*/ dbiIndex dbi, /*@unused@*/ unsigned int flags)
(dbfile ? dbfile : tagName(dbi->dbi_rpmtag)));
/*
* Depending on the DB version,
* the DB handle may not be accessed again after
* The DB handle may not be accessed again after
* DB->verify is called, regardless of its return.
*/
#if (DB_VERSION_MAJOR <= 3) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR <= 1)
xx = db->close(db, 0);
xx = cvtdberr(dbi, "db->close", xx, _debug);
if (rc == 0 && xx) rc = xx;
#endif
db = NULL;
dbf = _free(dbf);
}