From a90f65f38b17b7ba993d9d4b7d1677ce0fd4417a Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 22 Sep 2009 10:21:47 +0300 Subject: [PATCH] DB_INCOMPLETE was removed in BDB 4.1 and we dont support older versions --- lib/backend/db3.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/backend/db3.c b/lib/backend/db3.c index 45de8c9..bc3b8a4 100644 --- a/lib/backend/db3.c +++ b/lib/backend/db3.c @@ -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; } -- 2.7.4