mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:14:14 +08:00
mdbx: сокращение излишнего вызова osal_thread_self()
.
This commit is contained in:
parent
e9b10db255
commit
39f2bb142a
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user