db_env_create() doesn't take any flags currently
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 8 Apr 2010 10:59:05 +0000 (13:59 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 8 Apr 2010 10:59:05 +0000 (13:59 +0300)
lib/backend/db3.c
lib/backend/dbi.h

index ca25e54..942ccb1 100644 (file)
@@ -105,7 +105,7 @@ static int db_init(dbiIndex dbi, const char * dbhome, DB_ENV ** dbenvp)
        free(fstr);
     }
 
-    rc = db_env_create(&dbenv, dbi->dbi_ecflags);
+    rc = db_env_create(&dbenv, 0);
     rc = cvtdberr(dbi, "db_env_create", rc, _debug);
     if (dbenv == NULL || rc)
        goto errxit;
index 2c45677..c65cc23 100644 (file)
@@ -44,7 +44,6 @@ typedef enum dbiIndexType_e {
 struct _dbiIndex {
     const char * dbi_file;     /*!< file component of path */
 
-    int        dbi_ecflags;            /*!< db_env_create flags */
     int        dbi_oeflags;            /*!< common (db,dbenv}->open flags */
     int        dbi_eflags;             /*!< dbenv->open flags */
     int        dbi_oflags;             /*!< db->open flags */