Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txn.Commit invalidates txn #1

Open
SebastienAuvray opened this issue Apr 5, 2018 · 1 comment
Open

txn.Commit invalidates txn #1

SebastienAuvray opened this issue Apr 5, 2018 · 1 comment

Comments

@SebastienAuvray
Copy link

Hello!
While trying lmdb-go, I noticed that calling txn.Commit seems to invalidate txn : I got an "Invalid argument" on the next txn call (in this case, txn.Get).
When i don't call Commit, the next txn.Get is fine.

Thanx,

Sébastien.

@xlab
Copy link
Contributor

xlab commented Apr 5, 2018

IMHO this is by design of LMDB
screen shot 2018-04-05 at 14 06 44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants