Add a helper function to convert cursor retrievals to dbiIndexSets
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 8 Jun 2011 09:52:12 +0000 (12:52 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 8 Jun 2011 09:52:12 +0000 (12:52 +0300)
commitc33ccb71c9226921c4732660e9b408e454c08a4a
treea65be6ea95b8b840cf0078aa0acf251669c691cc
parent5922cc4a0a7e308bbe5e4721bac0383f4b08c8a7
Add a helper function to convert cursor retrievals to dbiIndexSets
- This stuff is repeated in rpmdb.c all over the place, to some
  this suggests making it into a function:
  - Hide the DBTs inside the function
  - Handle keylen fixups, set conversions and error logging centrally
lib/rpmdb.c