mdbx++: fix missing null assignment.

Resolves https://github.com/erthink/libmdbx/pull/143

Change-Id: Ifb88cebe2f07297a2f6cf70e31ae6abe61a0c0b2
This commit is contained in:
sasgas 2020-12-03 11:22:34 +09:00 committed by Leonid Yuriev
parent adcb052915
commit 5c693ccd96
2 changed files with 3 additions and 0 deletions

View File

@ -30,3 +30,4 @@ Contributors
- Sebastien Launay <sebastien@slaunay.fr>
- Vladimir Romanov <vromanov@gmail.com>
- Zano Foundation <crypto.sowle@gmail.com>
- 장세연 <sasgas@castis.com>

View File

@ -1319,6 +1319,7 @@ void txn_managed::abort() {
handle_ = nullptr;
err.throw_exception();
}
handle_ = nullptr;
}
void txn_managed::commit() {
@ -1328,6 +1329,7 @@ void txn_managed::commit() {
handle_ = nullptr;
err.throw_exception();
}
handle_ = nullptr;
}
//------------------------------------------------------------------------------