Lift RPMDBI_PACKAGES handling from db add/remove to separate helper
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 7 Apr 2010 08:11:55 +0000 (11:11 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 7 Apr 2010 08:11:55 +0000 (11:11 +0300)
commit475391dc581bf5ba72b6d59d16d875505b45bd51
treee59723d0dba77e0626c8ad14a5bce85ea5a223bf
parent0bb48a56b8ab0d95327e38a98f13246f388d2fd7
Lift RPMDBI_PACKAGES handling from db add/remove to separate helper
- Remove vs add is rather similar, unify the copy-pasteish code
- Be a bit more careful about error returns from the primary db functions
lib/rpmdb.c