diff options
Diffstat (limited to 'src/db.cc')
-rw-r--r-- | src/db.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db.cc b/src/db.cc index 61ecb203a5fc..ffb1999fe56b 100644 --- a/src/db.cc +++ b/src/db.cc @@ -258,6 +258,8 @@ void Database::delPair(const Transaction & txn, TableId table, Db * db = getDb(table); Dbt kt((void *) key.c_str(), key.length()); db->del(txn.txn, &kt, 0); + /* Non-existence of a pair with the given key is not an + error. */ } catch (DbException e) { rethrow(e); } } |