monero
monero copied to clipboard
Fix lmdb txn commit code
I added LMDB code to monero core a while ago. The only project (afaik) using it is LWS. I found this bug in the commit code - commit can fail with a resize request too.
If anyone thinks this code should be removed and put into LWS let me know shortly. I thought perhaps this could be used to replace existing LMDB code, but it looks unlikely at this point.
LGTM semantically and syntactically.
I will approve this in few days if anyone not raise any issues about having this here.
Embarrassing, this still has a bug in it. I will post an updated version, with an additional fix for the commit
function.
@0xFFFC0000 sorry for the changes, but I added a few more. If they get accepted, I will do a release branch version too. LWS is a little "shaky" without the changes.