summaryrefslogtreecommitdiff
path: root/lib/rpmdb.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-04-07 08:35:14 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-04-07 08:35:14 +0300
commitf40ea7e359df44f3db24391f966abfa9bad556be (patch)
treefb8f29128cfffdf09e84ee5f3f5001e98e840d7d /lib/rpmdb.c
parente23a2bf0977fcd6380acc277c4edc9f0ee997600 (diff)
downloadrpm-f40ea7e359df44f3db24391f966abfa9bad556be.tar.gz
rpm-f40ea7e359df44f3db24391f966abfa9bad556be.tar.bz2
rpm-f40ea7e359df44f3db24391f966abfa9bad556be.zip
Move header INSTALLTID manipulation out of rpmdbAdd()
Diffstat (limited to 'lib/rpmdb.c')
-rw-r--r--lib/rpmdb.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index c13d1e4aa..f2f3d5900 100644
--- a/lib/rpmdb.c
+++ b/lib/rpmdb.c
@@ -2405,15 +2405,6 @@ int rpmdbAdd(rpmdb db, int iid, Header h,
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
-#ifdef NOTYET /* XXX headerDel() broken on dribbles. */
- xx = headerDel(h, RPMTAG_REMOVETID);
-#endif
- if (iid != 0 && iid != -1) {
- rpm_tid_t tid = iid;
- if (!headerIsEntry(h, RPMTAG_INSTALLTID))
- headerPutUint32(h, RPMTAG_INSTALLTID, &tid, 1);
- }
-
(void) blockSignals(&signalMask);
dbi = rpmdbOpenIndex(db, RPMDBI_PACKAGES, 0);