summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-04-08 10:31:00 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-04-08 10:31:00 +0300
commit321925a18dd87b963bf16745a61751eeb8c2fa49 (patch)
tree56f7eaa1cf7ff0e147ed6cdf6f898992bbeb9b4f /lib
parent02a13bf65e771d87e7600561f6a3f70587b64bdf (diff)
downloadrpm-321925a18dd87b963bf16745a61751eeb8c2fa49.tar.gz
rpm-321925a18dd87b963bf16745a61751eeb8c2fa49.tar.bz2
rpm-321925a18dd87b963bf16745a61751eeb8c2fa49.zip
db_create() doesn't take any flags currently
Diffstat (limited to 'lib')
-rw-r--r--lib/backend/db3.c2
-rw-r--r--lib/backend/dbi.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/backend/db3.c b/lib/backend/db3.c
index 1272dc1d3..14cfb44d6 100644
--- a/lib/backend/db3.c
+++ b/lib/backend/db3.c
@@ -575,7 +575,7 @@ int dbiOpen(rpmdb rpmdb, rpmTag rpmtag, dbiIndex * dbip)
if (rc == 0) {
static int _lockdbfd = 0;
- rc = db_create(&db, dbenv, dbi->dbi_cflags);
+ rc = db_create(&db, dbenv, 0);
rc = cvtdberr(dbi, "db_create", rc, _debug);
if (rc == 0 && db != NULL) {
if (rc == 0 && !dbi->dbi_use_dbenv) {
diff --git a/lib/backend/dbi.h b/lib/backend/dbi.h
index 053252b64..d186d0bf0 100644
--- a/lib/backend/dbi.h
+++ b/lib/backend/dbi.h
@@ -45,7 +45,6 @@ struct _dbiIndex {
const char * dbi_file; /*!< file component of path */
int dbi_ecflags; /*!< db_env_create flags */
- int dbi_cflags; /*!< db_create flags */
int dbi_oeflags; /*!< common (db,dbenv}->open flags */
int dbi_eflags; /*!< dbenv->open flags */
int dbi_oflags; /*!< db->open flags */