mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-20 20:09:28 +08:00
mdbx++: fix missing null assignment.
Resolves https://github.com/erthink/libmdbx/pull/143 Change-Id: Ifb88cebe2f07297a2f6cf70e31ae6abe61a0c0b2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user