mdbx: сокращение излишнего вызова osal_thread_self().

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2023-10-09 20:56:42 +03:00
parent e9b10db255
commit 39f2bb142a

View File

@ -9196,7 +9196,7 @@ int mdbx_txn_renew(MDBX_txn *txn) {
rc = txn_renew(txn, MDBX_TXN_RDONLY);
if (rc == MDBX_SUCCESS) {
txn->mt_owner = osal_thread_self();
tASSERT(txn, txn->mt_owner == osal_thread_self());
DEBUG("renew txn %" PRIaTXN "%c %p on env %p, root page %" PRIaPGNO
"/%" PRIaPGNO,
txn->mt_txnid, (txn->mt_flags & MDBX_TXN_RDONLY) ? 'r' : 'w',