DB_INCOMPLETE was removed in BDB 4.1 and we dont support older versions
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Sep 2009 07:21:47 +0000 (10:21 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Sep 2009 07:21:47 +0000 (10:21 +0300)
lib/backend/db3.c

index 45de8c9..bc3b8a4 100644 (file)
@@ -208,13 +208,11 @@ static int db3sync(dbiIndex dbi, unsigned int flags)
 {
     DB * db = dbi->dbi_db;
     int rc = 0;
-    int _printit;
 
-    if (db != NULL)
+    if (db != NULL) {
        rc = db->sync(db, flags);
-    /* XXX DB_INCOMPLETE is returned occaisionally with multiple access. */
-    _printit = _debug;
-    rc = cvtdberr(dbi, "db->sync", rc, _printit);
+       rc = cvtdberr(dbi, "db->sync", rc, _debug);
+    }
     return rc;
 }