mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 16:32:06 +08:00
mdbx++: fix missing null assignment.
Resolves https://github.com/erthink/libmdbx/pull/143 Change-Id: Ifb88cebe2f07297a2f6cf70e31ae6abe61a0c0b2
This commit is contained in:
parent
adcb052915
commit
5c693ccd96
1
AUTHORS
1
AUTHORS
@ -30,3 +30,4 @@ Contributors
|
|||||||
- Sebastien Launay <sebastien@slaunay.fr>
|
- Sebastien Launay <sebastien@slaunay.fr>
|
||||||
- Vladimir Romanov <vromanov@gmail.com>
|
- Vladimir Romanov <vromanov@gmail.com>
|
||||||
- Zano Foundation <crypto.sowle@gmail.com>
|
- Zano Foundation <crypto.sowle@gmail.com>
|
||||||
|
- 장세연 <sasgas@castis.com>
|
||||||
|
@ -1319,6 +1319,7 @@ void txn_managed::abort() {
|
|||||||
handle_ = nullptr;
|
handle_ = nullptr;
|
||||||
err.throw_exception();
|
err.throw_exception();
|
||||||
}
|
}
|
||||||
|
handle_ = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void txn_managed::commit() {
|
void txn_managed::commit() {
|
||||||
@ -1328,6 +1329,7 @@ void txn_managed::commit() {
|
|||||||
handle_ = nullptr;
|
handle_ = nullptr;
|
||||||
err.throw_exception();
|
err.throw_exception();
|
||||||
}
|
}
|
||||||
|
handle_ = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user