Remove useless check for index

This commit is contained in:
Martchus 2022-04-19 00:19:56 +02:00
parent f47f8a52b0
commit 1d389239eb
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ public:
{
if (d_cursor.get(d_key, d_id, MDB_GET_CURRENT))
d_end = true;
else if (d_on_index && (*d_parent->d_txn)->get(d_parent->d_parent->d_main, d_id, d_data))
else if ((*d_parent->d_txn)->get(d_parent->d_parent->d_main, d_id, d_data))
throw LMDBError("Missing id in constructor");
}