Skip to content

Add support for listing Dbi flags #146

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

Merged
merged 1 commit into from
Apr 15, 2020

Conversation

jheister
Copy link
Contributor

I've added support for the mdb_dbi_flags call. We are using this in our project to inspect which flags a Dbi was created with. In particular we have a piece of code to copy an entire DB re-writing the keys in an ordered fashion to reduce wasted space (within the pages). For this we need to know what flags the new DB needs creating with and if we need to set MDB_APPEND or MDB_APPENDDUP when inserting into our copied DB.

@benalexau benalexau force-pushed the master branch 11 times, most recently from 8809f8e to fed0c5d Compare April 15, 2020 05:03
@benalexau benalexau merged commit f4a3e6a into lmdbjava:master Apr 15, 2020
@benalexau
Copy link
Member

Thanks for this PR.

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