mdbx++: удаление исключения при запросе транзакции у отсоединённого курсора (backport).

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2025-03-20 01:41:32 +03:00
parent d8890bc169
commit c5936eb5da

View File

@ -6206,7 +6206,6 @@ inline void cursor::unbind() { error::success_or_throw(::mdbx_cursor_unbind(hand
inline txn cursor::txn() const {
MDBX_txn *txn = ::mdbx_cursor_txn(handle_);
error::throw_on_nullptr(txn, MDBX_EINVAL);
return ::mdbx::txn(txn);
}