hyc@symas.com wrote:
h.b.furuseth@usit.uio.no wrote:
Can't use a DBI from an aborted child txn, unlike aborted main txn:
$ ./bug R[cp] # Create a named DB and put an item there $ ./bug [[o}g] # Open that DB in a child, abort, use the DBI 40: mdb_get(txn, dbi, &key, &rdata): Invalid argument $ ./bug [[o]g] # Success: Commit instead of abort the child $ ./bug [o}[g] # Success: Use the DBI from an aborted main txn
Sounds like the latter is a different bug - a DBI opened in an aborted txn should not be valid after the abort.
This bit is now fixed in mdb.master.