mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
parent
b1da555c4c
commit
9c4ee82297
@ -1849,7 +1849,7 @@ mdb_txn_renew(MDB_txn *txn)
|
||||
{
|
||||
int rc;
|
||||
|
||||
if (! (txn && txn->mt_flags & MDB_TXN_RDONLY))
|
||||
if (! (txn && (txn->mt_flags & MDB_TXN_RDONLY)))
|
||||
return EINVAL;
|
||||
|
||||
if (txn->mt_env->me_flags & MDB_FATAL_ERROR) {
|
||||
|
Loading…
Reference in New Issue
Block a user