diff options
Diffstat (limited to 'common/storage_lmdb.cpp')
-rw-r--r-- | common/storage_lmdb.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/storage_lmdb.cpp b/common/storage_lmdb.cpp index d4dd6c1..7d11c9f 100644 --- a/common/storage_lmdb.cpp +++ b/common/storage_lmdb.cpp | |||
@@ -282,8 +282,9 @@ public: | |||
282 | if (readOnly) { | 282 | if (readOnly) { |
283 | mdb_txn_abort(dbiTransaction); | 283 | mdb_txn_abort(dbiTransaction); |
284 | mdb_txn_renew(transaction); | 284 | mdb_txn_renew(transaction); |
285 | } else { | ||
286 | SinkWarning() << "Failed to create the dbi: " << dbiName; | ||
285 | } | 287 | } |
286 | SinkWarning() << "Failed to create the dbi: " << dbiName; | ||
287 | dbi = 0; | 288 | dbi = 0; |
288 | transaction = 0; | 289 | transaction = 0; |
289 | return false; | 290 | return false; |