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

provide fn to delete a database: mdb_drop(1) #214

Open
mikedilger opened this issue Oct 6, 2023 · 1 comment
Open

provide fn to delete a database: mdb_drop(1) #214

mikedilger opened this issue Oct 6, 2023 · 1 comment
Milestone

Comments

@mikedilger
Copy link

You can clear a database but not remove it. This isn't high priority, but I like things tidy.

@Kerollmops Kerollmops modified the milestones: v0.21.0, v0.20.0 Feb 12, 2024
@Kerollmops
Copy link
Member

Hey @mikedilger 👋

I am moving this one to a future milestone to release the v0.20 soon. For your information, the official LMDB documentation states that it is not useful to close DBIs.

Close a database handle. Normally unnecessary. [..] Closing a database handle is not necessary, but lets #mdb_dbi_open() reuse the handle value. Usually it's better to set a bigger #mdb_env_set_maxdbs(), unless that value would be large.

@Kerollmops Kerollmops modified the milestones: v0.20.0, v0.21.0 Apr 25, 2024
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