We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee06adb commit 9d6c973Copy full SHA for 9d6c973
libraries/liblmdb/mdb.c
@@ -3287,12 +3287,11 @@ mdb_txn_commit(MDB_txn *txn)
3287
unsigned int i;
3288
MDB_env *env;
3289
3290
- if (txn == NULL || txn->mt_env == NULL)
+ if (txn == NULL)
3291
return EINVAL;
3292
3293
if (txn->mt_child) {
3294
rc = mdb_txn_commit(txn->mt_child);
3295
- txn->mt_child = NULL;
3296
if (rc)
3297
goto fail;
3298
}
0 commit comments