Enable fast-import mode for headers from rpmdb
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 30 Nov 2011 10:01:08 +0000 (12:01 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 30 Nov 2011 10:09:44 +0000 (12:09 +0200)
commit2759c91b4c608f77e1524cef4de033d2253b7ee0
tree1e7a8de03385e94df37c9a39526c3ce5908acdd8
parentcd5222b6e323355c26991885d744aa06e0164c59
Enable fast-import mode for headers from rpmdb

- Assume our home turf is safe enough for this - in order to reach
  the rpmdb, headers must've gone through the more rigorous checking
  that's done through the rpmReadPackageFile() paths, plus in
  default configuration we'll be doing further verification on the
  header before loading the headers so the risk seems acceptable
  for the speed gain.
lib/rpmdb.c