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

Allow empty database name in OpenDBI method #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jtaczanowski
Copy link

@jtaczanowski jtaczanowski commented Jan 14, 2021

Allow to the name value OpenDBI method as an empty string.
From lmdb documentation doc name can be empty "If only a single database is needed in the environment, this value may be NULL."

@hirokiht
Copy link

hirokiht commented Apr 7, 2021

The author provides opening the unnamed db as txn.OpenRoot function, but I agree the naming is not quite intuitive while we are reading the official LMDB documentation as main reference.

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

Successfully merging this pull request may close these issues.

2 participants