Commit c1f19f7e authored by Jan Včelák's avatar Jan Včelák 🚀
Browse files

review: replace KNOT_ERROR with lmdb_error_to_knot()

parent d1c292f9
......@@ -212,7 +212,7 @@ static int find(knot_txn_t *txn, knot_val_t *key, knot_val_t *val, unsigned flag
if (ret == MDB_NOTFOUND) {
} else {
return KNOT_ERROR;
return lmdb_error_to_knot(ret);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment