Decouple dbiVerify() from dbiClose()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 19 Oct 2010 11:37:40 +0000 (14:37 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 19 Oct 2010 11:37:40 +0000 (14:37 +0300)
commit11f251dfa65afe1c52155713bcf61bd77e1410fe
tree8129bcbdce24a08352ca94499a1920d2765b14c6
parenta58dc457275d506eb28197c4058337ff5ef8f76d
Decouple dbiVerify() from dbiClose()
- When RPMDB_FLAG_VERIFYONLY is set, dbiOpen() now only creates and
  returns the db handle without actually opening it. With this we
  can sanely implement dbiVerify() as its own separate functionality,
  also avoiding the need to have duplicate code for creating and
  tearing down the db environment (which in turn kills our ability
  to use DB_REGISTER if/when the day comes)
lib/backend/db3.c
lib/backend/dbconfig.c
lib/backend/dbi.h
lib/rpmdb.c