summaryrefslogtreecommitdiff
path: root/lib/rpmgi.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-10-22 13:37:02 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-10-22 13:37:02 +0300
commit549fb4393ed4e95fa8fba16dfc1f00c8df64fbcf (patch)
tree47e2a6e110dd0aaebacc55a8fc859f3f829b6ced /lib/rpmgi.c
parent8d70f186814c8dce2362a803d15bf5fc3149888c (diff)
downloadlibrpm-tizen-549fb4393ed4e95fa8fba16dfc1f00c8df64fbcf.tar.gz
librpm-tizen-549fb4393ed4e95fa8fba16dfc1f00c8df64fbcf.tar.bz2
librpm-tizen-549fb4393ed4e95fa8fba16dfc1f00c8df64fbcf.zip
Use rpmtsGet/SetDBMode() to eliminate needs for _RPMTS_INTERNAL
Diffstat (limited to 'lib/rpmgi.c')
-rw-r--r--lib/rpmgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmgi.c b/lib/rpmgi.c
index ca7dfc046..7f3be9c45 100644
--- a/lib/rpmgi.c
+++ b/lib/rpmgi.c
@@ -574,7 +574,7 @@ enditer:
/* XXX installed database needs close here. */
xx = rpmtsCloseDB(ts);
- ts->dbmode = -1; /* XXX disable lazy opens */
+ xx = rpmtsSetDBMode(ts, -1); /* XXX disable lazy opens */
xx = rpmtsCheck(ts);