Change nextInstance() to permit retrieval too, use it for bitmap alloc
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 7 Apr 2010 10:23:03 +0000 (13:23 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 7 Apr 2010 10:23:03 +0000 (13:23 +0300)
commit2771913363f94e08c9afccff6c0c0ca32989cbca
tree3b4ae26a91125dbf6a90176d157c23b3b95f7112
parent81754356cd3b7118e32665b6306369ba2cdc1c35
Change nextInstance() to permit retrieval too, use it for bitmap alloc
- The "was this verified already" bitmap uses header instance numbers
  which are monotonically increasing and can be much much larger than
  the number of actually installed headers. Grab the current instance
  number for a better idea how much we'll at least need.
- Throw out the db stats based dbiNumKeys(), this doesn't have the
  kind of performance penalty that stats have and suits our purposes
  better anyway
lib/backend/db3.c
lib/backend/dbi.h
lib/rpmdb.c