Join Nostr
2024-11-11 19:30:53 UTC
in reply to

kero on Nostr: npub1y0emt…smm9n What do you think about making mdb_txn_begin accept the write txn ...

What do you think about making mdb_txn_begin accept the write txn as the parent parameter and accept the MDB_RDONLY flag simultaneously? The same restrictions apply to the write txn (only abort and commit allowed). It is possible to call this function multiple times, to use the read transactions in parallel and only from the write txn program.